Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark titles as headings in html #290

Merged
merged 1 commit into from Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions layouts/partials/home/projects.html
Expand Up @@ -33,9 +33,9 @@ <h2 class="title is-2 has-text-centered">
</div>
{{ end }}
<div class="card-content has-text-centered top-pad">
<a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
<h1><a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
{{ .Title | markdownify }}
</a>
</a></h1>
{{ if .Params.project_timeframe }}
<p class="fa-xs">{{ .Params.project_timeframe }}</p>
{{ end }}
Expand All @@ -60,7 +60,7 @@ <h2 class="title is-2 has-text-centered">
<div class="modal-card">
{{ with .Title }}
<header class="modal-card-header bottom-pad">
<p class="modal-card-title has-text-centered">{{ . }}</p>
<h1 class="modal-card-title has-text-centered">{{ . }}</h1>
</header>
{{ end }}
{{ if .Params.project_timeframe }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/projects/list.html
Expand Up @@ -30,9 +30,9 @@
</div>
{{ end }}
<div class="card-content has-text-centered top-pad">
<a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}">
<h1><a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}">
{{ .Title | markdownify }}
</a>
</a></h1>
</div>
</div>
</div>
Expand Down