Remove paige.description, paige.list.description params
This commit is contained in:
		| @@ -261,9 +261,6 @@ paige: | ||||
|     format: ":date_long" # Hugo date format | ||||
|     hide: false | ||||
|     source: "published" # Displayed date; must be "published" or "modified" | ||||
|   description: | ||||
|     class: "lead text-center" | ||||
|     hide: false | ||||
|   git: | ||||
|     commit_url_prefix: "" # Example is "https://github.com/willfaught/paige/commit/" | ||||
|   list: | ||||
| @@ -279,9 +276,6 @@ paige: | ||||
|     date_header: | ||||
|       class: "h5 text-center" | ||||
|       hide: false | ||||
|     description: | ||||
|       class: "mb-0 text-center" | ||||
|       hide: false | ||||
|     pages: | ||||
|       hide: false | ||||
|     reading_time: | ||||
|   | ||||
| @@ -15,8 +15,7 @@ | ||||
| {{ $date := cond ($page.Param "paige.date.hide" | not) (cond (eq ($page.Param "paige.date.source" | default "published") "published") $page.PublishDate $page.Lastmod) "" }} | ||||
| {{ $dateclass := $page.Param "paige.date.class" | default "paige-date text-center text-secondary" }} | ||||
| {{ $dateformat := $page.Param "paige.date.format" | default ":date_long" }} | ||||
| {{ $description := cond ($page.Param "paige.description.hide" | not) ($page.Description | markdownify) "" }} | ||||
| {{ $descriptionclass := $page.Param "paige.description.class" | default "lead paige-description text-center" }} | ||||
| {{ $description := $page.Description | markdownify }} | ||||
| {{ $nogap := "mb-0" }} | ||||
| {{ $readingtime := cond ($page.Param "paige.reading_time.hide" | not) $page.ReadingTime "" }} | ||||
| {{ $readingtimeclass := $page.Param "paige.reading_time.class" | default "paige-reading-time text-center text-secondary" }} | ||||
| @@ -37,7 +36,7 @@ | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ with $description }} | ||||
|         <p {{ with $descriptionclass }} class="{{ . }}" {{ end }}>{{ . }}</p> | ||||
|         <p class="lead paige-description text-center">{{ . }}</p> | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ if or $categories $tags }} | ||||
|   | ||||
| @@ -30,8 +30,7 @@ | ||||
|                     {{ $date := cond ($page.Param "paige.list.date.hide" | not) .PublishDate "" }} | ||||
|                     {{ $dateclass := $page.Param "paige.list.date.class" | default "mb-0 paige-date text-center text-secondary" }} | ||||
|                     {{ $dateformat := $page.Param "paige.list.date.format" | default ":date_long" }} | ||||
|                     {{ $description := cond ($page.Param "paige.list.description.hide" | not) (.Description | markdownify) "" }} | ||||
|                     {{ $descriptionclass := $page.Param "paige.list.description.class" | default "mb-0 paige-description text-center" }} | ||||
|                     {{ $description := .Description | markdownify }} | ||||
|                     {{ $draft := .Draft }} | ||||
|                     {{ $expired := and .ExpiryDate (lt .ExpiryDate now) }} | ||||
|                     {{ $flags := slice }} | ||||
| @@ -81,7 +80,7 @@ | ||||
|                         {{ end }} | ||||
|  | ||||
|                         {{ with $description }} | ||||
|                             <p {{ with $descriptionclass }} class="{{ . }}" {{ end }}>{{ . }}</p> | ||||
|                             <p class="mb-0 paige-description text-center">{{ . }}</p> | ||||
|                         {{ end }} | ||||
|  | ||||
|                         {{ with $summary }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user