Migrate website to Hugo
Signed-off-by: Luc Perkins <lucperkins@gmail.com>
This commit is contained in:
6
docs/layouts/shortcodes/features.html
Normal file
6
docs/layouts/shortcodes/features.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- $features := .Site.Data.features }}
|
||||
<ul>
|
||||
{{- range $features }}
|
||||
<li>{{ . | markdownify }}</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
10
docs/layouts/shortcodes/news.html
Normal file
10
docs/layouts/shortcodes/news.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{- $news := .Site.Data.news }}
|
||||
<ul>
|
||||
{{- range $news }}
|
||||
<li>
|
||||
<a href="{{ .link }}">
|
||||
{{ with .date }}{{ . }}: {{ end }}{{ .title }}
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user