mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-16 21:36:56 +01:00
chores
This commit is contained in:
parent
37ecc69ecc
commit
07a755cafb
6 changed files with 11 additions and 40 deletions
|
@ -4,11 +4,7 @@
|
||||||
|
|
||||||
*/}}
|
*/}}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
{{ define "main" }}
|
||||||
<html lang="{{ .Site.LanguageCode }}">
|
|
||||||
{{ partial "header.html" . }}
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="layout" class="pure-g">
|
<div id="layout" class="pure-g">
|
||||||
<article class="pure-u-1">
|
<article class="pure-u-1">
|
||||||
{{ partial "brand.html" . }}
|
{{ partial "brand.html" . }}
|
||||||
|
@ -16,10 +12,8 @@
|
||||||
{{ partial "toc.html" . }}
|
{{ partial "toc.html" . }}
|
||||||
<section>{{ .Content }}</section>
|
<section>{{ .Content }}</section>
|
||||||
<section>
|
<section>
|
||||||
{{ partial "disqus.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
{{ end }}
|
||||||
</html>
|
|
|
@ -1 +0,0 @@
|
||||||
<!-- Includes go here -->
|
|
|
@ -1,19 +0,0 @@
|
||||||
{{ if .Params.comments }}
|
|
||||||
<div id="disqus_thread"></div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
// Don't ever inject Disqus on localhost--it creates unwanted
|
|
||||||
// discussions from 'localhost:1313' on your Disqus account...
|
|
||||||
if (window.location.hostname == "localhost")
|
|
||||||
return;
|
|
||||||
|
|
||||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
||||||
var disqus_shortname = '{{ .Site.Params.disqusShortname }}';
|
|
||||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
|
||||||
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
|
||||||
{{ end }}
|
|
|
@ -25,4 +25,3 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{{ partial "body.includes.html" . }}
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
{{ partial "math.html" . }}
|
{{ partial "math.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Syntax highlighting -->
|
|
||||||
<!-- {{ partial "highlight.html" . }} -->
|
|
||||||
|
|
||||||
<!-- Pure css -->
|
<!-- Pure css -->
|
||||||
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/pure-min.css">
|
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/pure-min.css">
|
||||||
|
|
Loading…
Reference in a new issue