Finish styling.
This commit is contained in:
parent
238938c806
commit
15fbf7d7a0
20
layouts/partials/header.html
Normal file
20
layouts/partials/header.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<a href="#main" class="skip-link p-screen-reader-text">Skip to content</a>
|
||||
{{ partial "svgpack-sprite.html" . }}
|
||||
<header class="l-header">
|
||||
{{ if .IsPage }}
|
||||
<p class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></p>
|
||||
{{ else }}
|
||||
<h1 class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></h1>
|
||||
{{ end }}
|
||||
{{ with ($.Param "subtitle") }}
|
||||
<p class="p-subtitle">
|
||||
{{ . }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
{{- partial "header_custom.html" . }}
|
||||
<main id="main" class="l-main">
|
1
layouts/partials/header_custom.html
Normal file
1
layouts/partials/header_custom.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{partial "menu.html" .}}
|
|
@ -17,3 +17,11 @@ body {
|
|||
a {
|
||||
color: #1756a9;
|
||||
}
|
||||
|
||||
.l-nav {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.l-header {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user