diff --git a/archetypes/post-bundle/index.md b/archetypes/post-bundle/index.md new file mode 100644 index 0000000..8e4b597 --- /dev/null +++ b/archetypes/post-bundle/index.md @@ -0,0 +1,5 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- \ No newline at end of file diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index c84e58f..fa01317 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -5,7 +5,7 @@ {{ . }} {{ end }}
- {{ .Summary }} + {{ .Summary | safeHTML | truncate 125 }} {{ if .Truncated }} Read more... {{ end }} diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..520ec17 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ + +{{.Inner}} \ No newline at end of file