Remove links from page titles #94

Open
vojta001 wants to merge 1 commits from vojta001/no-title-links into master
6 changed files with 5 additions and 8 deletions

View File

@ -191,9 +191,6 @@ h2 a {
h1, h2, h3, h4, h5, h6, ::placeholder {
color: white;
}
.container > .pageHeader > h2.pageTitle.title > a {
color: white;
}
strong, b {
color: white;
}

View File

@ -1,5 +1,5 @@
<div class="pageHeader">
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<h2 class="title pageTitle">{{ .Title }}</h2>
<p class="has-text-grey">{{- T "published" -}}:&nbsp;<time datetime="{{ .PublishDate.Format "2006-01-02T15:04:05.000-0700" }}">{{ .PublishDate.Format "02.01.2006 15:04" }}</time></p>
<p class="has-text-grey">
{{- T "author" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}

View File

@ -1,3 +1,3 @@
<div class="pageHeader">
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<h2 class="title pageTitle">{{ .Title }}</h2>
</div>

View File

@ -1,5 +1,5 @@
<div class="pageHeader">
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<h2 class="title pageTitle">{{ .Title }}</h2>
<p class="has-text-grey">
{{- T "leader" -}}: {{ range .Params.leader }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
</p>

View File

@ -1,5 +1,5 @@
<div class="pageHeader">
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<h2 class="title pageTitle">{{ .Title }}</h2>
<p class="has-text-grey">{{- T "published" -}}:&nbsp;<time datetime="{{ .PublishDate.Format "2006-01-02T15:04:05.000-0700" }}">{{ .PublishDate.Format "02.01.2006 15:04" }}</time></p>
<p class="">{{- T "talks-when" -}}:&nbsp;<time datetime="{{ dateFormat "2006-01-02T15:04:05.000-0700" .Params.when }}">{{ dateFormat "02.01.2006 15:04" .Params.when }}</time> <a rel="alternate" href="{{ (.OutputFormats.Get "Calendar").Permalink | safeURL }}"><span class="icon"><i class="fas fa-calendar-alt"></i></span></a></p>
<p class="">

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<div class="pageHeader">
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ T "posts_with_tag" }} "{{ .Title }}":</a></h2>
<h2 class="title pageTitle">{{ T "posts_with_tag" }} "{{ .Title }}":</h2>
</div>
{{ partial "blogList.html" . }}
{{ end }}