diff options
| author | nanxiaobei <nanxiaobei@gmail.com> | 2019-04-01 16:00:48 +0800 |
|---|---|---|
| committer | nanxiaobei <nanxiaobei@gmail.com> | 2019-04-01 16:00:48 +0800 |
| commit | e3053cee4fe9ebd1f909a40549972e1847b3db46 (patch) | |
| tree | 044a9e6a18b7c16e589f75d6670f7ed65df60a0f /layouts/_default/single.html | |
| parent | 22ec09e42cf3db2b0d8b3e7036603324fc402985 (diff) | |
Update html
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 25fdb5c..60bc6f9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,5 @@ {{ partial "header.html" . }} + <article class="post-single"> <header class="post-header"> <h1 class="post-title">{{ .Title }}</h1> @@ -18,13 +19,13 @@ </ul> {{ end }} </footer> - <!-- Comments system area start --> + <!-- Comments area start --> {{ if not (eq .Params.comments false) }} {{ if .Site.DisqusShortname }} <div id="disqus_thread"></div> <script> var disqus_shortname = '{{ .Site.DisqusShortname }}'; - (function() { // DON'T EDIT BELOW THIS LINE + (function() { var d = document, s = d.createElement('script'); s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; s.setAttribute('data-timestamp', +new Date()); @@ -35,8 +36,9 @@ Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a> </noscript> - <!-- Comments system area end --> + <!-- Comments area end --> {{ end }} {{ end }} </article> + {{ partial "footer.html" . }} |
