add fonts, css, scripts, remove share buttons, another minor fixes

This commit is contained in:
root
2018-11-23 09:20:45 +00:00
parent 4217a2dd1b
commit 362baca757
12 changed files with 65 additions and 56 deletions

View File

@@ -1,33 +1,17 @@
<nav class="col-md-3">
{{ if $.Site.Params.codeeditor_menu_mostrecentposts | default true }}
<h3 class="home-link"><a href="{{ index .Site.Params "rootlink" | default .Site.BaseURL }}">{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).root }}</a></h3>
<div id="last-posts" class="open">
<h3 data-open="last-posts">{{ .Site.Title }} - {{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).mostrecentposts }}</h3>
<ul>
{{ range first 10 .Site.RegularPages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
{{ with .Site.Taxonomies.tags }}
<div id="tags" class="open">
<h3 data-open="tags">{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).tags }}</h3>
<ul class="tags">
{{ range $name, $taxonomy := . }}
<li><a href="/tags/{{ $name | urlize }}">{{ $name }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
{{ with .Site.Taxonomies.categories }}
<div id="categories" class="open">
<h3 data-open="categories">{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).categories }}</h3>
<ul class="categories">
<ul>
{{ range $name, $taxonomy := . }}
<li><a href="/categories/{{ $name | urlize }}">{{ $name }}</a></li>
<ul>&nbsp;&nbsp;&nbsp;{{ $name }}:<br>
{{ range $taxonomy.Pages }}
<li>
<a href="{{ .Permalink }}"><b>{{ .Title }}</b></a><br>
</li>
{{ end }}
</ul>
{{ end }}
</ul>
</div>