diff --git a/assets/sass/_syntax.sass b/assets/sass/_syntax.sass index 5055c594..7adb615d 100644 --- a/assets/sass/_syntax.sass +++ b/assets/sass/_syntax.sass @@ -7,7 +7,7 @@ opacity: 1 code - font-size: 15px + font-size: 85% font-weight: 400 overflow-y: hidden display: block diff --git a/exampleSite/content/post/bundle/index.md b/exampleSite/content/post/bundle/index.md index 69ba5a46..6b1ab1ad 100644 --- a/exampleSite/content/post/bundle/index.md +++ b/exampleSite/content/post/bundle/index.md @@ -1,6 +1,7 @@ --- title: 'Using Hugo page bundles' description: 'Page bundles are an optional way to organize content within Hugo.' +summary: "Page bundles are an optional way to organize page resources within Hugo. You can opt-in to using page bundles in Hugo Clarity with `usePageBundles` in your site configuration --- or in a page's front matter." # For the post in lists. date: '2022-03-24' aliases: - hugo-page-bundles diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2935179f..e0299b29 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,7 +12,7 @@
{{- $t := .Title }} -

{{ $t }}

+

{{ $t | markdownify }}

{{- partial "post-meta" . }} {{- with .Params.featureImage -}}
diff --git a/layouts/partials/excerpt.html b/layouts/partials/excerpt.html index 0e2c355b..ba94336c 100644 --- a/layouts/partials/excerpt.html +++ b/layouts/partials/excerpt.html @@ -2,7 +2,7 @@

- {{ .Title }} + {{ .Title | markdownify }}

{{ partial "post-meta" . }}
@@ -22,9 +22,9 @@

{{ $summary = .Params.abstract }} {{- end }} {{ if not ( strings.Contains $summary "

" ) }} -

{{ $summary }}

+

{{ $summary | markdownify }}

{{ else }} - {{ $summary }} + {{ $summary | markdownify }} {{ end }}
{{- $r := T "read_more" }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0e4b8886..d1bc9457 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -8,7 +8,7 @@
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index edf5a2a3..e849852c 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -50,7 +50,7 @@

{{ T "series_posts" }}

@@ -63,7 +63,7 @@

{{ T "featured_posts" }}

@@ -73,7 +73,7 @@

{{ T "recent_posts" }}

{{- $recent := default 8 $s.numberOfRecentPosts }} {{- range first $recent $posts }}
  • - {{ .Title }} + {{ .Title | markdownify }}
  • {{- end }}