diff --git a/.gitignore b/.gitignore index 5aa8983..1ade488 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ projectFilesBackup .DS_Store dist/ +install.ignore diff --git a/custom-tags.hbs b/custom-tags.hbs index e733081..71b0a33 100644 --- a/custom-tags.hbs +++ b/custom-tags.hbs @@ -1,24 +1,22 @@ {{!< default}}
- {{#post}} -
-

{{title}}

-
- {{/post}} - + {{#post}} +
+

{{title}}

+
+ {{/post}} +
- -
-
- {{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}} - {{#foreach tags}} - {{> "tag-card-big"}} - {{/foreach}} - {{/get}} + {{!< navbar}} +
+
+ {{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}} + {{#foreach tags}} + {{> "tag-card-big"}} + {{/foreach}} + {{/get}} +
-
diff --git a/default.hbs b/default.hbs index 66d84a1..3a6684e 100755 --- a/default.hbs +++ b/default.hbs @@ -1,74 +1,62 @@ - + - - - - + + + + - - - - - + + + + + - - + {{!-- TODO: REMOVE ON PRODUCTION! --}} + - + {{!-- Scripts End --}} - - {{#is "post"}} - - {{/is}} + {{!-- Begin Page-specific code --}} + {{#is "post"}} + + {{/is}} - {{#is "index"}} - {{@site.title}} - {{/is}} + {{#is "index"}} + {{@site.title}} + {{/is}} - {{# is "post, page, tag"}} - {{meta_title}} – {{@site.title}} - {{/is}} - + {{# is "post, page, tag"}} + {{meta_title}} – {{@site.title}} + {{/is}} + {{!-- End Page-specific code --}} - {{ghost_head}} - {{!-- Outputs important meta data and settings, should always be in --}} + {{ghost_head}} + {{!-- Outputs important meta data and settings, should always be in --}} - + - + {{> "navbar-primary"}} -
-

This website uses cookies.

-

We use cookies to ensure you the best experience. -
- By visiting our website, you agree with our Privacy Policy. -

- -
+ {{> "policy-popup"}} - {{{body}}} - {{!-- All content gets inserted here, index.hbs, post.hbs, etc --}} + {{{body}}} + {{!-- All content gets inserted here, index.hbs, post.hbs, etc --}} - + - {{!-- --}} - {{ghost_foot}} - {{!-- Outputs important scripts - should always be included before closing body tag --}} + {{!-- --}} + {{ghost_foot}} + {{!-- Outputs important scripts - should always be included before closing body tag --}} diff --git a/home.hbs b/home.hbs index e6f546d..22f3057 100644 --- a/home.hbs +++ b/home.hbs @@ -7,18 +7,16 @@
- -
-
+ {{> "navbar-secondary"}} +
+
- - {{#foreach posts}} - {{> "post-card-big"}} - {{/foreach}} + + {{#foreach posts}} + {{> "post-card-big"}} + {{/foreach}} +
-
diff --git a/index.hbs b/index.hbs index e6f546d..97ef5be 100755 --- a/index.hbs +++ b/index.hbs @@ -1,24 +1,22 @@ {{!< default}}
-

{{@site.title}}

- +

{{@site.title}}

+
- -
-
+ {{> "navbar-secondary"}} +
+
- - {{#foreach posts}} - {{> "post-card-big"}} - {{/foreach}} + + {{#foreach posts}} + {{> "post-card-big"}} + {{/foreach}} +
-
diff --git a/page.hbs b/page.hbs index 265742e..cecf898 100644 --- a/page.hbs +++ b/page.hbs @@ -9,16 +9,16 @@
-
-
- {{#post}} -
-
- +
+
+ {{#post}} +
+
+ Feature Image +
+ {{content}} +
+ {{/post}}
- {{content}} -
- {{/post}}
-
diff --git a/partials/navbar-primary.hbs b/partials/navbar-primary.hbs new file mode 100644 index 0000000..e9c818c --- /dev/null +++ b/partials/navbar-primary.hbs @@ -0,0 +1,8 @@ + diff --git a/partials/navbar-secondary.hbs b/partials/navbar-secondary.hbs new file mode 100644 index 0000000..c3481c5 --- /dev/null +++ b/partials/navbar-secondary.hbs @@ -0,0 +1,3 @@ + diff --git a/partials/policy-popup.hbs b/partials/policy-popup.hbs new file mode 100644 index 0000000..c35bda2 --- /dev/null +++ b/partials/policy-popup.hbs @@ -0,0 +1,8 @@ +
+

This website uses cookies.

+

We use cookies to ensure you the best experience. +
+ By visiting our website, you agree with our Privacy Policy. +

+ +
diff --git a/partials/post-card-big.hbs b/partials/post-card-big.hbs index 3a2c957..55ff61c 100644 --- a/partials/post-card-big.hbs +++ b/partials/post-card-big.hbs @@ -1,6 +1,6 @@
- + Feature Image

{{primary_tag.name}}

diff --git a/partials/posts-card-small.hbs b/partials/posts-card-small.hbs index 747c542..66bff15 100644 --- a/partials/posts-card-small.hbs +++ b/partials/posts-card-small.hbs @@ -3,7 +3,7 @@ {{#foreach related}}