diff options
author | Bradley Taunt <brad@serpapi.com> | 2024-06-13 14:57:38 -0400 |
---|---|---|
committer | Bradley Taunt <brad@serpapi.com> | 2024-06-13 14:57:38 -0400 |
commit | 26c7db12364e8eba08e2f8e85bb534ed735a0be8 (patch) | |
tree | 0e1d2f6e2456ca2266993eef72881057ee5b3dd9 /_layouts/post.html | |
parent | a134c38317e808d6535af990cc505dab1bc7bbfe (diff) |
Major overhaul and cleanups
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 42 |
1 files changed, 4 insertions, 38 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 2eaedf4..50545e8 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,42 +1,8 @@ --- -layout: base +layout: default --- -<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting"> - <header class="post-header"> - <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1> - <p class="post-meta"> - {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} - <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> - {{ page.date | date: date_format }} - </time> - {%- if page.modified_date -%} - ~ - {%- assign mdate = page.modified_date | date_to_xmlschema -%} - <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified"> - {{ mdate | date: date_format }} - </time> - {%- endif -%} - {%- if page.author -%} - • {% for author in page.author %} - <span itemprop="author" itemscope itemtype="http://schema.org/Person"> - <span class="p-author h-card" itemprop="name">{{ author }}</span></span> - {%- if forloop.last == false %}, {% endif -%} - {% endfor %} - {%- endif -%}</p> - </header> +<h1>{{ page.title }}</h1> +<p><small>{{ page.date | date: "%B %-d, %Y" }}</small></p> - <div class="post-content e-content" itemprop="articleBody"> - {{ content }} - </div> - - <div> - <hr style="margin:40px auto;width:65%;"> - {% if page.previous.url %} - <a class="prev" href="{{page.previous.url}}">« {{page.previous.title}}</a> - {% endif %} - {% if page.next.url %} - <a class="next" href="{{page.next.url}}">{{page.next.title}} »</a> - {% endif %} - </div> -</article> +{{ content }} |