diff --git a/layouts/index.html b/layouts/index.html index 0fd1e65..41b3f90 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -21,7 +21,7 @@
- {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} + {{ partial "summary_string.html" . }}
{{ end }} @@ -32,7 +32,7 @@- {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} + {{ partial "summary_string.html" . }}
{{ end }} @@ -45,7 +45,7 @@- {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} + {{ partial "summary_string.html" . }}
{{ end }} diff --git a/layouts/partials/box.html b/layouts/partials/box.html index 11d8b55..cd408fb 100644 --- a/layouts/partials/box.html +++ b/layouts/partials/box.html @@ -3,6 +3,6 @@{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length "..." }}
+ {{ partial "summary_string.html" . }} diff --git a/layouts/partials/box_image.html b/layouts/partials/box_image.html index 1d18f22..cb9fd45 100644 --- a/layouts/partials/box_image.html +++ b/layouts/partials/box_image.html @@ -8,6 +8,6 @@{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length "..." }}
+ {{ partial "summary_string.html" . }} diff --git a/layouts/partials/content.html b/layouts/partials/content.html index cc31bf2..efca1b0 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -1,14 +1,6 @@{{ markdownify .Params.subtitle }}
- {{ else if .Params.repo }} - {{ $data := getJSON "https://api.github.com/repos/" .Params.repo }} -{{ $data.description }}
- {{ else if .Params.gist }} - {{ $data := getJSON "https://api.github.com/gists/" .Params.gist }} -{{ $data.description }}
- {{ end }} +{{ partial "subtitle_string.html" . }}