mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-11 09:41:36 -05:00
It was used to make both website title and page titles in summaries not have link color. Instead, just directly configure those elements.
20 lines
502 B
HTML
20 lines
502 B
HTML
<h2 class="page-title">
|
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
|
</h2>
|
|
|
|
{{ partial "page-metadata/post-short.html" . }}
|
|
|
|
{{ partial "feature-figure.html" . }}
|
|
|
|
{{ with .Summary }}
|
|
<div class="page-description">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<div class="readmore">
|
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
|
</div>
|