diff --git a/author.hbs b/author.hbs index 2de842a..2546b6a 100644 --- a/author.hbs +++ b/author.hbs @@ -9,58 +9,58 @@ into the {body} of the default.hbs template --}}
{{!-- Everything inside the #author tags pulls data from the author --}} {{#author}} - {{!-- Special header.hbs partial to generate the
tag --}} - {{> header background=cover_image}} - {{!-- Inject styles of the hero image to make it responsive --}} - {{> hero background=cover_image}} -
- {{#if profile_image}} -
- {{else}} -
- {{/if}} -

{{name}}

- {{#if bio}} -

{{bio}}

- {{/if}} -
- {{#has any="twitter, facebook, website"}} -
    - {{#if website}} -
  • - - - -
  • + {{!-- Special header.hbs partial to generate the
    tag --}} + {{> header background=cover_image}} + {{!-- Inject styles of the hero image to make it responsive --}} + {{> hero background=cover_image}} +
    + {{#if profile_image}} +
    + {{else}} +
    {{/if}} - {{#if facebook}} -
  • - - - -
  • +

    {{name}}

    + {{#if bio}} +

    {{bio}}

    {{/if}} - {{#if twitter}} -
  • - - - -
  • - {{/if}} -
- {{/has}} -
    -
  • - {{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} -
  • - {{#if location}} -
  • -
  • {{location}}
  • - {{/if}} -
-
-
- +
+ {{#has any="twitter, facebook, website"}} +
    + {{#if website}} +
  • + + + +
  • + {{/if}} + {{#if facebook}} +
  • + + + +
  • + {{/if}} + {{#if twitter}} +
  • + + + +
  • + {{/if}} +
+ {{/has}} +
    +
  • + {{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} +
  • + {{#if location}} +
  • +
  • {{location}}
  • + {{/if}} +
+
+
+ {{/author}}
diff --git a/index.hbs b/index.hbs index 201531f..3cfa536 100644 --- a/index.hbs +++ b/index.hbs @@ -15,10 +15,10 @@ into the {body} of the default.hbs template --}}

{{@site.title}}

{{#if @site.description}} -

{{@site.description}}

+

{{@site.description}}

{{/if}} {{#if @labs.subscribers}} - {{t "Subscribe"}} + {{t "Subscribe"}} {{/if}}
@@ -28,53 +28,49 @@ into the {body} of the default.hbs template --}}
{{#get "posts" filter="featured:true" include="authors,tags" limit="5" as |featured|}} - {{#if featured}} - -
- {{/if}} + {{/if}} {{/get}} {{!-- The tag below iterates over all the posts --}} {{> "loop"}} diff --git a/package.json b/package.json index e303dd2..8ae112e 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "demo": "https://liebling.eduardogomez.io", "description": "Beautiful and clean theme that is easy and comfortable to use.", "engines": { - "ghost": ">=2.0.0", - "ghost-api": "v2" + "ghost": ">=3.0.0", + "ghost-api": "v3" }, "gpm": { "type": "theme", @@ -54,5 +54,5 @@ "desktop": "assets/screenshot-desktop.jpg", "mobile": "assets/screenshot-mobile.jpg" }, - "version": "0.6.5" + "version": "0.6.6" } diff --git a/page-authors.hbs b/page-authors.hbs index 0cbf6ea..16e7980 100644 --- a/page-authors.hbs +++ b/page-authors.hbs @@ -16,7 +16,7 @@ into the {body} of the default.hbs template --}}

{{title}}

{{#if custom_excerpt}} -

{{custom_excerpt}}

+

{{custom_excerpt}}

{{/if}}
@@ -24,59 +24,59 @@ into the {body} of the default.hbs template --}}
{{#get 'authors' limit='all' include='count.posts' order='count.posts desc'}} -
- {{#foreach authors}} -
- {{#if profile_image}} -
- {{else}} -
+
+ {{#foreach authors}} +
+ {{#if profile_image}} +
+ {{else}} +
{{/if}}

{{name}}

-
-
- - {{#if bio}} -

- {{bio}} -

- {{/if}} -
-
- - {{plural count.posts empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} - - {{#has any="twitter, facebook, website"}} - - {{/has}}
-
-
- {{/foreach}} -
+
+ + {{#if bio}} +

+ {{bio}} +

+ {{/if}} +
+
+ + {{plural count.posts empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} + + {{#has any="twitter, facebook, website"}} + + {{/has}} +
+
+
+ {{/foreach}} +
{{/get}}
diff --git a/page.hbs b/page.hbs index 3947831..1943922 100644 --- a/page.hbs +++ b/page.hbs @@ -16,7 +16,7 @@ into the {body} of the default.hbs template --}}

{{title}}

{{#if custom_excerpt}} -

{{custom_excerpt}}

+

{{custom_excerpt}}

{{/if}}
diff --git a/partials/header.hbs b/partials/header.hbs index 42850cb..d1d5884 100644 --- a/partials/header.hbs +++ b/partials/header.hbs @@ -2,11 +2,7 @@ This header template is shared across all the pages. --}} -{{#if background}} -
+ {{content}} - -
- + {{!-- Email subscribe form at the bottom of the page --}} + {{#if @labs.subscribers}} +
- - - {{!-- Email subscribe form at the bottom of the page --}} - {{#if @labs.subscribers}} -
-
-
+ {{/if}} + {{#if @labs.subscribers}} +
+ {{else}} +
+ {{/if}} +
+ - -
-
- {{/if}} - {{#if @labs.subscribers}} -
- {{else}} -
- {{/if}} -
- -
-

- {{primary_author.name}} -

- {{#has author="count:>1"}} -

- {{authors separator=", " prefix=(t "Among with no break line") from="2"}} -

- {{/has}} - {{#if primary_author.bio}} -

{{primary_author.bio}}

- {{/if}} - -
-
-
- {{!-- If you want to embed comments, this is a good place to do it! --}} - {{!-- +
+ {{!-- If you want to embed comments, this is a good place to do it! --}} + {{!--
@@ -166,17 +166,17 @@ into the {body} of the default.hbs template --}} {{/post}} {{!-- Related posts --}} {{#get "posts" limit="3" filter="tags:[{{post.tags}}]+id:-{{post.id}}" include="tags,authors" as |related|}} - +
{{/get}} diff --git a/src/docker-compose.yml b/src/docker-compose.yml index a93f300..f177c9b 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: ghost: - image: ghost:2.31.1 + image: ghost:3.7.0 container_name: ghost volumes: - ./..:/var/lib/ghost/content/themes/liebling diff --git a/src/sass/layouts/_post-content.scss b/src/sass/layouts/_post-content.scss index f5248d6..3726956 100644 --- a/src/sass/layouts/_post-content.scss +++ b/src/sass/layouts/_post-content.scss @@ -382,6 +382,10 @@ padding: 20px; } } + + &.line-numbers > code { + padding: 0; + } } form { diff --git a/tag.hbs b/tag.hbs index d8c6331..4b7235c 100644 --- a/tag.hbs +++ b/tag.hbs @@ -9,17 +9,17 @@ into the {body} of the default.hbs template --}}
{{!-- Everything inside the #tag tags pulls data from the tag --}} {{#tag}} - {{!-- Special header.hbs partial to generate the
tag --}} - {{> header background=feature_image}} - {{!-- Inject styles of the hero image to make it responsive --}} - {{> hero background=feature_image}} -
-

{{name}}

-

- {{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} {{t "with this tag"}} -

-
-
+ {{!-- Special header.hbs partial to generate the
tag --}} + {{> header background=feature_image}} + {{!-- Inject styles of the hero image to make it responsive --}} + {{> hero background=feature_image}} +
+

{{name}}

+

+ {{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} {{t "with this tag"}} +

+
+ {{/tag}}