mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-20 16:07:49 +00:00
Add partial layouts for header and footer
This commit is contained in:
15
layouts/partials/header.html
Normal file
15
layouts/partials/header.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div class="container content">
|
||||
|
||||
<header class="masthead">
|
||||
<h3 class="masthead-title">
|
||||
<a href="/" title="Home">{{ .Site.Title }}</a>
|
||||
<small>{{ replace .Site.Params.subtitle " " " " | safeHTML }}</small>
|
||||
</h3>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
Reference in New Issue
Block a user