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_content.html')
-rw-r--r--layouts/partials/article_content.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/article_content.html b/layouts/partials/article_content.html
new file mode 100644
index 0000000..e856304
--- /dev/null
+++ b/layouts/partials/article_content.html
@@ -0,0 +1,17 @@
+<div id="main" class="post" itemscope itemprop="blogPost">
+ <article itemprop="articleBody">
+ {{ partial "article_header.html" . }}
+ <div class="article-content">
+ {{ partial "article_gallery.html" . }}
+ {{ if isset .Params "toc"}}
+ <div class="toc-article">
+ <strong class="toc-title">{{ .Site.Params.Strings.TableOfContents }}</strong>
+ {{ .TableOfContents }}
+ </div>
+ {{ end }}
+ {{ .Content }}
+ </div>
+ {{ partial "article_footer.html" . }}
+ </article>
+ {{ partial "comment.html" . }}
+</div>