Skip to content
Snippets Groups Projects
Commit 79668a28 authored by Martyn Welch's avatar Martyn Welch Committed by Emanuele Aina
Browse files

Always use the same styling for page headings


In order to ensure a consistent look to the site, always use the same css
for page headings, don't require each section to define it's own css.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent 753dee20
No related branches found
No related tags found
1 merge request!28Wip/martyn/website improvements
Pipeline #135184 passed
......@@ -21,7 +21,7 @@
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="{{ .Type }}-heading">
<div class="page-heading">
<h1>{{ with $.Scratch.Get "title" }}{{.}}{{ else }}<br/>{{ end }}</h1>
{{ if $subtitle }}
{{ if eq .Type "page" }}
......@@ -46,7 +46,7 @@
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="{{ .Type }}-heading">
<div class="page-heading">
<h1>{{ with $.Scratch.Get "title" }}{{.}}{{ else }}<br/>{{ end }}</h1>
{{ if $subtitle }}
{{ if eq .Type "page" }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment