Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coderzh/hugo-pacman-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/article.html')
-rw-r--r--layouts/partials/article.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/article.html b/layouts/partials/article.html
new file mode 100644
index 0000000..fe0e71f
--- /dev/null
+++ b/layouts/partials/article.html
@@ -0,0 +1,7 @@
+<section class="post" itemscope itemprop="blogPost">
+ <a href="{{ .Permalink }}" title="{{ .Title }}" itemprop="url">
+ <h1 itemprop="name">{{ .Title }}</h1>
+ <p itemprop="description">{{ .Summary }}</p>
+ <time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.DateFormat }}</time>
+ </a>
+</section>