Added shortcodes, lots of improvements and content dump
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<nav id='navbar'>
|
||||
<ul class='top-nav'>
|
||||
<li><a href='/{{ .Language.Lang }}'>{{ site.Title }}</a></li>
|
||||
<li><a href='/{{ if ne .Language.Lang "en" }}{{ .Language.Lang }}{{ end }}'>{{ site.Title }}</a></li>
|
||||
{{ if gt (len .AllTranslations) 1 }}
|
||||
{{ partial "i18n/nav.html" . }}
|
||||
{{ end }}
|
||||
<div class='link-group'>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
|
@@ -1,14 +1,21 @@
|
||||
<aside id='meta'>
|
||||
<header>
|
||||
<h4>{{ or (.Param "tit") .Title }}</h4>
|
||||
<h4>{{ or (.Param "tit") .Title | humanize }}</h4>
|
||||
<p>
|
||||
{{ i18n "readingTime" .ReadingTime }}.
|
||||
{{ i18n "wordCount" .WordCount }}.
|
||||
</p>
|
||||
{{ with .Param "git" }}
|
||||
<p>Check out the git repo; <a href='{{ .url }}'>{{ .name }}</a>!</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
{{ if .Param "docs" }}
|
||||
<h6>Documentation:</h6>
|
||||
<ul>
|
||||
{{ range .Param "docs" }}
|
||||
<li><a href='{{ .url }}' target='_blank'>{{ .name }}</a></li>
|
||||
{{ end }}</ul>{{ end }}
|
||||
{{ with .Param "git" }}
|
||||
<p>Check out the git repo; <a href='{{ .url }}'>{{ .name }}</a>!</p>
|
||||
{{ end }}
|
||||
<h6>Table of Contents:</h6>
|
||||
{{ .TableOfContents }}
|
||||
{{ partial "i18n/list.html" . }}
|
||||
</aside>
|
Reference in New Issue
Block a user