-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Because789
committed
Nov 13, 2023
1 parent
1d546c9
commit e2d4ede
Showing
5 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
layout: base | ||
--- | ||
<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> | ||
|
||
<div class="post-content e-content" itemprop="articleBody"> | ||
{{ content }} | ||
|
||
<div class="post-categories"> | ||
{% if post %} | ||
{% assign categories = post.categories %} | ||
{% else %} | ||
{% assign categories = page.categories %} | ||
{% endif %} | ||
{% for category in categories %} | ||
<a href="{{site.baseurl}}/categories/#{{category|slugize}}">{{category}}</a> | ||
{% unless forloop.last %} {% endunless %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
|
||
{%- if site.disqus.shortname -%} | ||
{%- include disqus_comments.html -%} | ||
{%- endif -%} | ||
|
||
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.