From 413f0997d9ad36a8be97387456f47c740e071e95 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sun, 12 Jul 2020 16:23:23 +0800 Subject: feat: change theme styles --- _includes/views/pagination.html | 13 ++++++++++--- _includes/views/post-header.html | 11 ++++++++++- 2 files changed, 20 insertions(+), 4 deletions(-) (limited to '_includes/views') diff --git a/_includes/views/pagination.html b/_includes/views/pagination.html index 11eb5aa..48e27bb 100644 --- a/_includes/views/pagination.html +++ b/_includes/views/pagination.html @@ -11,16 +11,23 @@ {%- for post in paginator.posts -%}
  • {%- assign date_format = site.yat.date_format | default: "%b %-d, %Y" -%} - -

    +

    {%- assign post_url = post.url | relative_url -%} {{ post.title | escape }} -

    + +

    {{ post.content | strip_html | truncatewords: 50 }}

    +
  • {%- endfor -%} diff --git a/_includes/views/post-header.html b/_includes/views/post-header.html index 82329bd..d109597 100644 --- a/_includes/views/post-header.html +++ b/_includes/views/post-header.html @@ -1,6 +1,6 @@

    {{ heading | default: page.title | escape }}

    -

    {{ subheading | default: page.subtitle | escape }}

    +

    {{ subheading | default: page.subtitle | escape }}

    + + {%- if page.tags.size > 0 -%} + + {%- endif -%} +
    -- cgit v1.2.3