Fixed missing year in title when in blog archive (#921)
Fixed missing year in title when visualizing blog archive filtered by year Signed-off-by: George Araujo <george.gcac@gmail.com>
This commit is contained in:
parent
951ae92858
commit
7d7567eac8
|
|
@ -21,7 +21,11 @@
|
||||||
{% if page.url == '/blog/index.html' %}
|
{% if page.url == '/blog/index.html' %}
|
||||||
{{ site.blog_nav_title }} | {{ title }}
|
{{ site.blog_nav_title }} | {{ title }}
|
||||||
{%- elsif page.title != "blank" and page.url != "/" -%}
|
{%- elsif page.title != "blank" and page.url != "/" -%}
|
||||||
{{ page.title }} | {{ title }}
|
{%- if page.title == nil or page.title == "" -%}
|
||||||
|
{{ page.date | date: "%Y" }} | {{ title }}
|
||||||
|
{%- else -%}
|
||||||
|
{{ page.title }} | {{ title }}
|
||||||
|
{%- endif -%}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ title }}
|
{{ title }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue