Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Create snippet-page.pug to house non-snippet code #74

Closed
wants to merge 7 commits into from

Conversation

jungaretti
Copy link
Owner

The HTML code to render the snippet is now isolated from the code to render the page it's shown on. This gives us the freedom to render just the snippet (snippet.pug) or a page containing the snippet (snippet-page.pug).

Completed

  • Isolated the snippet code from its page
  • Updated route to use the new template
  • Renamed HTML helper function

Closes #73

commit c42e1a7
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:45:21 2020 -0500

    Add required meta tags
commit a437bc6
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:41:54 2020 -0500

    Do some testing

commit e8448cb
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:40:59 2020 -0500

    Link to updated stylesheet

commit 5274aae
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:39:24 2020 -0500

    Add appropriate HTML class

commit 786d8d4
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:38:46 2020 -0500

    Remove duplicate demo-page

commit a65d021
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:38:22 2020 -0500

    Create unified stylesheet
commit 1661c68
Author: JP Ungaretti <hello@jungaretti.com>
Date:   Sat Aug 1 16:46:02 2020 -0500

    Rename properties to match gistProvider
@jungaretti jungaretti changed the title Jungaretti/snippet page template Create snippet-page.pug to house non-snippet code Aug 1, 2020
@jungaretti jungaretti closed this Dec 18, 2020
@jungaretti jungaretti deleted the jungaretti/snippet-page-template branch March 3, 2021 05:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a snippet-page template in Pug
1 participant