mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Update html
This commit is contained in:
parent
22ec09e42c
commit
e3053cee4f
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
{{ if gt $paginator.TotalPages 0 }}
|
{{ if gt $paginator.TotalPages 0 }}
|
||||||
{{ range $index, $page := $paginator.Pages }}
|
{{ range $index, $page := $paginator.Pages }}
|
||||||
<article class="post-entry">
|
<article class="{{ if and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) }}first-entry{{ else }}post-entry{{ end }}">
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<h2>{{ .Title }}</h2>
|
<h2>{{ .Title }}</h2>
|
||||||
</header>
|
</header>
|
||||||
@ -34,10 +34,10 @@
|
|||||||
<footer class="page-footer">
|
<footer class="page-footer">
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{{ if $paginator.HasPrev }}
|
{{ if $paginator.HasPrev }}
|
||||||
<a class="prev" href="{{ $paginator.Prev.URL }}">← {{ i18n "prevPage" }}</a>
|
<a class="prev" href="{{ $paginator.Prev.URL }}">← {{ i18n "prev_page" }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $paginator.HasNext }}
|
{{ if $paginator.HasNext }}
|
||||||
<a class="next" href="{{ $paginator.Next.URL }}">{{ i18n "nextPage" }} →</a>
|
<a class="next" href="{{ $paginator.Next.URL }}">{{ i18n "next_page" }} →</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
<article class="post-single">
|
<article class="post-single">
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title">{{ .Title }}</h1>
|
<h1 class="post-title">{{ .Title }}</h1>
|
||||||
@ -18,13 +19,13 @@
|
|||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
<!-- Comments system area start -->
|
<!-- Comments area start -->
|
||||||
{{ if not (eq .Params.comments false) }}
|
{{ if not (eq .Params.comments false) }}
|
||||||
{{ if .Site.DisqusShortname }}
|
{{ if .Site.DisqusShortname }}
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
<script>
|
<script>
|
||||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||||
(function() { // DON'T EDIT BELOW THIS LINE
|
(function() {
|
||||||
var d = document, s = d.createElement('script');
|
var d = document, s = d.createElement('script');
|
||||||
s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
|
s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
s.setAttribute('data-timestamp', +new Date());
|
s.setAttribute('data-timestamp', +new Date());
|
||||||
@ -35,8 +36,9 @@
|
|||||||
Please enable JavaScript to view the
|
Please enable JavaScript to view the
|
||||||
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
|
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
|
||||||
</noscript>
|
</noscript>
|
||||||
<!-- Comments system area end -->
|
<!-- Comments area end -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user