diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:47:28 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:47:28 +0100 |
commit | fc7de7136acbcf0aef54ae8460c7702bc83709be (patch) | |
tree | c109bb4dd1f1b054db476e7e4117f79bdd62ec9e /docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/boxes-section-summaries.html | |
parent | 1083bf7c08e6f35826279065b8a09a16cc991c7f (diff) |
docs: Prepare for new sub tree
See #11925
Diffstat (limited to 'docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/boxes-section-summaries.html')
-rw-r--r-- | docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/boxes-section-summaries.html | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/boxes-section-summaries.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/boxes-section-summaries.html deleted file mode 100644 index b293dc17d..000000000 --- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/boxes-section-summaries.html +++ /dev/null @@ -1,46 +0,0 @@ -<div class="relative {{ .classes }} weight-{{ .context.Weight }}"> - <div class="bg-white mb2 pa3 pa4-l gray"> - - {{ $href := .context.RelPermalink }} - {{ if eq .context.Section "news" }} - {{ $href = .context.Permalink }} - <time class="f6 db" datetime="{{ .context.Date.Format `2006-01-02T15:04:05Z07:00` }}"> - {{ .context.Date.Format "January 2, 2006" }} - </time> - {{ end }} - - <h1 class="near-black f3"> - <a href="{{ $href }}" class="link primary-color dim"> - {{ .context.Title }} - </a> - </h1> - <div class="lh-copy links"> - {{ if eq .context.Section "commands" }} - {{ replaceRE `(?s).*?##\s.*?\n\n(.*?)\n.*` "$1" .context.RawContent }} - {{ else }} - - {{ if in (slice "functions" "methods") .context.Type }} - {{ with $signature := index .context.Params.action.signatures 0 }} - {{ if $.context.Params.action.returnType }} - {{ $signature = printf "%s ⟼ %s" $signature $.context.Params.action.returnType }} - {{ end }} - <pre class="f6 mb3 ph3 pv2 bg-light-gray overflow-x-auto"> - {{- $signature -}} - </pre> - {{ end }} - {{ end }} - - {{ if .context.Params.description }} - {{ .context.Params.description | markdownify }} - {{ else }} - {{ .context.Summary }} - {{ end }} - - {{ end }} - <a href="{{ $href }}" class="f6 mt2 db link primary-color dim"> - Read More » - </a> - </div> - - </div> -</div> |