diff --git a/README.md b/README.md index b9ba3604..322ab05a 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,7 @@ color = "#0d6efd" # Bootstrap primary color and theme color for Safari and Windo color_scheme = "auto" # Must be "auto", "dark", or "light" credit = 'Paige Theme' date_format = ":date_long" # Hugo date format +description = "" # Site description. Appears above the menu, below the site title, if set. external_link_new_tab = false # Open external links in new tabs file_edit_url = "" # Example: "https://github.com/account/project/edit/master/content/%s" file_history_url = "" # Example: "https://github.com/account/project/commits/master/content/%s" @@ -185,8 +186,7 @@ keyword_style = "text" # Must be "text" or "pills" license = "" # Example: "CC BY 4.0 License", "CC BY-NC 4.0 License", "MIT License" math = false # Enable math typesetting menu_style = "links" # Must be "links", "pills", "tabs", or "underline" -site_title = "" # Appears above the menu, above the site description, if set -site_description = "" # Appears above the menu, below the site title, if set +title = "" # Site title. Appears above the menu, above the site description, if set. style = "" # CSS included at the end of the stylesheet, before style-last.css [paige.alert] @@ -292,6 +292,43 @@ logo = "" # Example: "/logo.webp" managing_editor = "" # Example: "example@example.com (John Doe)" web_master = "" # Example: "example@example.com (John Doe)" +[params.paige.list_page] +hide_authors = false +hide_collections = false +hide_date = false +hide_description = false +hide_keywords = false +hide_pages = false +hide_reading_time = false +hide_sections = false +hide_series = false +hide_summary = false +hide_title = false + +[params.paige.page] +hide_alert = false +hide_authors = false +hide_date = false +hide_description = false +hide_edit = false +hide_history = false +hide_keywords = false +hide_next = false +hide_prev = false +hide_reading_time = false +hide_series = false +hide_title = false +hide_toc = false + +[params.paige.site] +hide_breadcrumbs = false +hide_copyright = false +hide_credit = false +hide_description = false +hide_license = false +hide_menu = false +hide_title = false + [paige.search] hide_page = false ``` @@ -907,14 +944,16 @@ Body: None. | ---------------------------------------------------------| -------------------------------------| | `yoursite/layouts/partials/paige/body-first.html` | The beginning of the body tag | | `yoursite/layouts/partials/paige/body-last.html` | The end of the body tag | -| `yoursite/layouts/partials/paige/footer-first.html` | The beginning of the footer tag | -| `yoursite/layouts/partials/paige/footer-last.html` | The end of the footer tag | | `yoursite/layouts/partials/paige/head-first.html` | The beginning of the head tag | | `yoursite/layouts/partials/paige/head-last.html` | The end of the head tag | -| `yoursite/layouts/partials/paige/main-first.html` | The beginning of the main tag | -| `yoursite/layouts/partials/paige/main-last.html` | The end of the main tag | +| `yoursite/layouts/partials/paige/page-footer-first.html` | The beginning of the page footer tag | +| `yoursite/layouts/partials/paige/page-footer-last.html` | The end of the page footer tag | | `yoursite/layouts/partials/paige/page-header-first.html` | The beginning of the page header tag | | `yoursite/layouts/partials/paige/page-header-last.html` | The end of the page header tag | +| `yoursite/layouts/partials/paige/site-first.html` | The beginning of the main tag | +| `yoursite/layouts/partials/paige/site-last.html` | The end of the main tag | +| `yoursite/layouts/partials/paige/site-footer-first.html` | The beginning of the site footer tag | +| `yoursite/layouts/partials/paige/site-footer-last.html` | The end of the site footer tag | | `yoursite/layouts/partials/paige/site-header-first.html` | The beginning of the site header tag | | `yoursite/layouts/partials/paige/site-header-last.html` | The end of the site header tag | | `yoursite/layouts/partials/paige/style-first.css` | The beginning of the style tag | @@ -986,81 +1025,79 @@ Page identifiers:
#paige-alert
#paige-article
#paige-authors
#paige-breadcrumbs
#paige-collections
#paige-collections-header
#paige-comments
#paige-content
#paige-copyright
#paige-credit
#paige-date
#paige-description
#paige-edit
#paige-file
#paige-file-edit
#paige-file-history
#paige-history
#paige-keywords
#paige-license
#paige-main
#paige-menu
#paige-metadata
#paige-next
#paige-page-description
#paige-page-footer
#paige-page-header
#paige-page-title
#paige-pages
#paige-pages-header
#paige-pagination
#paige-prev
#paige-prev-next
#paige-reading-time
#paige-root
#paige-sections
#paige-sections-header
#paige-series
#paige-siblings
#paige-site-description
#paige-site-footer
#paige-site-header
#paige-site-title
#paige-title
#paige-toc
.paige-authors
.paige-description
.paige-keyword
.paige-keywords
.paige-metadata
.paige-draft
{{% paige/image alt="Landscape" breakpoints=true class="object-fit-cover rounded-4 shadow-lg" fetchpriority="high" height="20rem" loading="eager" process="webp" src="https://images.unsplash.com/photo-1490604001847-b712b0c2f967?w=1296" width="100%" %}}
+{{< paige/image alt="Landscape" breakpoints=true class="mt-3 object-fit-cover rounded-4 shadow-lg" fetchpriority="high" height="20rem" loading="eager" process="webp" src="https://images.unsplash.com/photo-1490604001847-b712b0c2f967?w=1296" width="100%" >}}{{ . }}
+{{ . }}
{{ end }} {{ with $summary }} -{{ . }}
+{{ . }}
{{ end }} - {{ if or $categories $tags }} -- {{ range $i, $term := sort (append $categories $tags) "LinkTitle" -}} + {{ with $keywords }} +
+ {{ range $i, $term := . -}} {{- if $textkeywords -}} {{- if gt $i 0 }} · {{ end -}} @@ -71,7 +71,7 @@ {{ end }} {{ with $series }} -
+
{{ range $i, $series := . -}} {{- if gt $i 0 }} · {{ end -}} @@ -81,7 +81,7 @@ {{ end }} {{ with $authors }} -
+
{{ end }} {{ with $readingtime }} -
{{ . }} {{ i18n "paige_minutes" . }}
+{{ . }} {{ i18n "paige_minutes" . }}
{{ end }}