Compare commits
2 Commits
feature/pa
...
feature/hi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ca5ce823b | ||
|
|
4744293d34 |
@@ -7,7 +7,6 @@ disqusShortname = ""
|
|||||||
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
||||||
preserveTaxonomyNames = true
|
preserveTaxonomyNames = true
|
||||||
footnotereturnlinkcontents = "↩"
|
footnotereturnlinkcontents = "↩"
|
||||||
paginate = 1
|
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
post = "/post/:year/:month/:day/:slug/"
|
post = "/post/:year/:month/:day/:slug/"
|
||||||
|
|||||||
@@ -2,3 +2,11 @@
|
|||||||
<script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
<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>
|
<script async src="//yihui.name/js/center-img.js"></script>
|
||||||
|
|
||||||
|
<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
|
||||||
|
<script src="//cdn.bootcss.com/highlight.js/9.12.0/languages/r.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
hljs.configure({languages: []});
|
||||||
|
hljs.initHighlightingOnLoad();
|
||||||
|
</script>
|
||||||
|
|||||||
1
exampleSite/layouts/partials/head_custom.html
Normal file
1
exampleSite/layouts/partials/head_custom.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<link href="//cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
|
||||||
@@ -7,14 +7,12 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{{ $paginator := .Paginate (where .Data.Pages "Section" "!=" "") }}
|
{{ range (where .Data.Pages "Section" "!=" "") }}
|
||||||
{{ range $paginator.Pages }}
|
|
||||||
<li>
|
<li>
|
||||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||||
<a href="{{ .URL }}">{{ .Title }}</a>
|
<a href="{{ .URL }}">{{ .Title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ template "_internal/pagination.html" . }}
|
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
|
|||||||
@@ -22,15 +22,11 @@ hr {
|
|||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pagination */
|
|
||||||
.pagination { text-align: center; }
|
|
||||||
.pagination li { display: inline; }
|
|
||||||
.pagination a { padding: 0 .2em; }
|
|
||||||
|
|
||||||
/* code */
|
/* code */
|
||||||
pre {
|
pre {
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
box-shadow: 5px 5px 5px #eee;
|
box-shadow: 5px 5px 5px #eee;
|
||||||
|
background: #f8f8f8;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user