Revert "Add the ability for post headers to be links when you add a link parameter to the page front matter"
This reverts commit d68e76478d
.
This commit is contained in:
parent
4d4ba7bfa8
commit
97c92d209d
2 changed files with 1 additions and 9 deletions
|
@ -470,14 +470,6 @@ header > span.series::before {
|
|||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.post-title h1 > .link-arrow {
|
||||
margin-inline-start: 0.5rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
.post-title h1 > .link-arrow:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post-title > .post-date {
|
||||
color: var(--light-dim);
|
||||
display: inline-block;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<header>
|
||||
{{ partial "development/draft_tag.html" . }}
|
||||
<div class="post-title">
|
||||
<h1>{{ .Title }}{{ with .Params.link }}<a class="link-arrow" href="{{ . }}">→</a>{{ end }}</h1>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if not (eq .Section "about") }}
|
||||
<div class="post-date"><time>{{ .Date | time.Format "January 2, 2006" }}</time></div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue