diff --git a/layout/_macro/post-collapse.njk b/layout/_macro/post-collapse.njk index 4c39119..1489454 100644 --- a/layout/_macro/post-collapse.njk +++ b/layout/_macro/post-collapse.njk @@ -22,15 +22,9 @@
- {%- if post.link %}{# Link posts #} - {%- set postTitleIcon = '' %} - {%- set postText = post.title or post.link %} - {{ next_url(post.link, postText + postTitleIcon, {class: 'post-title-link post-title-link-external', itemprop: 'url'}) }} - {% else %} - - {%- endif %} +
{{ post_gallery(post.photos) }} diff --git a/layout/_macro/post.njk b/layout/_macro/post.njk index e297189..7cb3a6e 100644 --- a/layout/_macro/post.njk +++ b/layout/_macro/post.njk @@ -26,17 +26,7 @@ {%- if post.header !== false %}
<{% if is_index %}h2{% else %}h1{% endif %} class="post-title{% if post.direction and post.direction.toLowerCase() === 'rtl' %} rtl{% endif %}" itemprop="name headline"> - {# Link posts #} - {%- if post.link %} - {%- if post.sticky > 0 %} - - - - {%- endif %} - {%- set postTitleIcon = '' %} - {%- set postText = post.title or post.link %} - {{- next_url(post.link, postText + postTitleIcon, {class: 'post-title-link post-title-link-external', itemprop: 'url'}) }} - {% elif is_index %} + {% if is_index %} {%- if post.sticky > 0 %} diff --git a/source/css/_common/components/post/post-collapse.styl b/source/css/_common/components/post/post-collapse.styl index a4b5719..b406c62 100644 --- a/source/css/_common/components/post/post-collapse.styl +++ b/source/css/_common/components/post/post-collapse.styl @@ -89,11 +89,6 @@ border-bottom: 0; color: var(--link-color); } - - .fa { - font-size: $font-size-small; - margin-left: 5px; - } } &::before {