diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/footer.html | 13 | ||||
| -rw-r--r-- | layouts/shortcodes/basic.html | 8 | ||||
| -rw-r--r-- | layouts/shortcodes/maintain.html | 4 | ||||
| -rw-r--r-- | layouts/shortcodes/services.html | 4 |
4 files changed, 29 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..7742c7e --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,13 @@ + {{ if in .Params.tags "basic" }} + {{ with .NextInSection }} + <a class=next href="{{ .RelPermalink }}">Next: {{ .Title }}</a> + {{ end }} + {{ with .PrevInSection }} + <span class=prev>Or Previous: <a href="{{ .RelPermalink }}">{{ .Title }}</a></span> + {{ end }} + + {{ end }} + </main> + <footer><a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a></footer> +</body> +</html> diff --git a/layouts/shortcodes/basic.html b/layouts/shortcodes/basic.html new file mode 100644 index 0000000..b2df0d9 --- /dev/null +++ b/layouts/shortcodes/basic.html @@ -0,0 +1,8 @@ +<ol class=ll> +{{range.Site.RegularPages.ByDate}}{{ if in .Params.tags "basic" }}<li> +<a href="{{.Permalink}}"> +{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }} +<span class=title>{{.Title}}</span> +{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span style="display:none">{{.Params.Tags}}</span> +</li>{{ end }}{{ end }} +</ol> diff --git a/layouts/shortcodes/maintain.html b/layouts/shortcodes/maintain.html new file mode 100644 index 0000000..a864eab --- /dev/null +++ b/layouts/shortcodes/maintain.html @@ -0,0 +1,4 @@ +<ul class=ll> +{{range.Site.RegularPages.ByTitle}}{{ if in .Params.tags "server" }}<li><a href="{{.Permalink}}">{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}<span class=title>{{.Title}}</span>{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span class=tags>{{.Params.Tags}}</span></li> +{{ end }}{{ end }} +</ul> diff --git a/layouts/shortcodes/services.html b/layouts/shortcodes/services.html new file mode 100644 index 0000000..877140d --- /dev/null +++ b/layouts/shortcodes/services.html @@ -0,0 +1,4 @@ +<ul id=servicelist> +{{range.Site.RegularPages.ByTitle}}{{ if in .Params.tags "service" }}<li><a href="{{.Permalink}}">{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}<span class=title>{{.Title}}</span>{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span class=tags>{{.Params.Tags}}</span></li> +{{ end }}{{ end }} +</ul> |
