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

github.com/allnightgrocery/hugo-theme-blueberry-detox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/post.html')
-rw-r--r--layouts/_default/post.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/layouts/_default/post.html b/layouts/_default/post.html
new file mode 100644
index 0000000..5ab2194
--- /dev/null
+++ b/layouts/_default/post.html
@@ -0,0 +1,49 @@
+<article class="{{ .Type }}">
+ <header class="post-header">
+ <h3 class="p-post-title">{{ .Title }}</h3>
+ </header>
+
+ <section class="post-content">
+ {{ .Content }}
+ </section>
+
+ <hr>
+
+ <footer class="post-footer">
+ <section class="f-1">
+ {{ with .Site.Params.author }}
+ <section class="author">
+ <p>Words by {{ . }}</p>
+ </section>
+ {{ end }}
+
+ <p class="f-post-time"><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "January 2, 2006" }}</time></p>
+ </section>
+
+ <section class="f-2">
+ <section class="share">
+ <span>Share:
+ <a class="icon-twitter" href="http://twitter.com/share?text={{ .Title }}&url={{ .Permalink }}"
+ onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
+ <i class="fa fa-twitter"></i>
+ </a>
+ <a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"
+ onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
+ <i class="fa fa-facebook"></i>
+ </a>
+ <a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}"
+ onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
+ <i class="fa fa-google-plus"></i>
+ </a>
+ </span>
+ </section>
+
+ {{ with.Params.tags }}
+ <span class="f-post-tags"><i class="fa fa-tag"></i>
+ {{ delimit . ", " }}
+ </span>
+ {{ end }}
+ </section>
+ {{ partial "disqus.html" . }}
+ </footer>
+</article> \ No newline at end of file