Compare commits
1 Commits
feature/pa
...
feature/di
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68a839ece2 |
@@ -3,11 +3,10 @@ languageCode = "en-us"
|
||||
title = "A minimal Hugo website"
|
||||
theme = "hugo-xmin"
|
||||
googleAnalytics = ""
|
||||
disqusShortname = ""
|
||||
disqusShortname = "yihui"
|
||||
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
||||
preserveTaxonomyNames = true
|
||||
footnotereturnlinkcontents = "↩"
|
||||
paginate = 1
|
||||
|
||||
[permalinks]
|
||||
post = "/post/:year/:month/:day/:slug/"
|
||||
|
||||
@@ -2,3 +2,5 @@
|
||||
<script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
||||
|
||||
<script async src="//yihui.name/js/center-img.js"></script>
|
||||
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
||||
@@ -7,14 +7,12 @@
|
||||
{{ .Content }}
|
||||
|
||||
<ul>
|
||||
{{ $paginator := .Paginate (where .Data.Pages "Section" "!=" "") }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ range (where .Data.Pages "Section" "!=" "") }}
|
||||
<li>
|
||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||
<a href="{{ .URL }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
@@ -22,11 +22,6 @@ hr {
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
/* pagination */
|
||||
.pagination { text-align: center; }
|
||||
.pagination li { display: inline; }
|
||||
.pagination a { padding: 0 .2em; }
|
||||
|
||||
/* code */
|
||||
pre {
|
||||
border: 1px solid #ddd;
|
||||
|
||||
Reference in New Issue
Block a user