This commit is contained in:
slashformotion 2021-07-30 21:08:12 +02:00
parent 37ecc69ecc
commit 07a755cafb
6 changed files with 11 additions and 40 deletions

View file

@ -4,22 +4,16 @@
*/}} */}}
<!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" . }}
{{ partial "content.header.html" . }} {{ partial "content.header.html" . }}
{{ 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>

View file

@ -1 +0,0 @@
<!-- Includes go here -->

View file

@ -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 }}

View file

@ -25,4 +25,3 @@
</p> </p>
</div> </div>
</footer> </footer>
{{ partial "body.includes.html" . }}

View file

@ -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">