Skip to content

Commit

Permalink
feat: add portfolio post template
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrozer committed May 1, 2023
1 parent aad752a commit b77c6ca
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@
]
}
],
"postTemplates": {
"portfolio": "Describe an image for the portfolio"
},
"postConfig": [
{
"name": "displayAuthorBio",
Expand Down
15 changes: 15 additions & 0 deletions post-portfolio.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{! This template is used to sdescribe a picture from the portfolio }}
{{> head}}
{{> navbar}}

{{#post}}
<div class="uk-section" uk-height-viewport="expand: true">
<div class="uk-container">
<a href="../index.html#readings">← Go back</a>
<h1>{{title}}</h1>
{{{text}}}
</div>
</div>
{{/post}}

{{> footer}}

0 comments on commit b77c6ca

Please sign in to comment.