diff --git a/README.md b/README.md index eea3a93..6303490 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,8 @@ Ficurinia supports injecting custom content into the theme. There are several fi | `layouts/partials/inject/content-before.html` | Before a post or page content | | `layouts/partials/inject/footer.html` | At the beginning of the footer | | `layouts/partials/inject/head.html` | Before closing the `head` tag | +| `layouts/partials/inject/header-after.html` | Before closing the header | +| `layouts/partials/inject/header-before.html` | At the beginning of the header | # Does *Ficurinia* mean anything? diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3d11023..8a4ffdd 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,5 @@
+ {{- partial "inject/header-before" -}}
@@ -27,4 +28,5 @@ {{- partial "nerdlink" . -}} {{ end }}
+ {{- partial "inject/header-after" -}}
diff --git a/layouts/partials/inject/header-after.html b/layouts/partials/inject/header-after.html new file mode 100644 index 0000000..4589529 --- /dev/null +++ b/layouts/partials/inject/header-after.html @@ -0,0 +1 @@ + diff --git a/layouts/partials/inject/header-before.html b/layouts/partials/inject/header-before.html new file mode 100644 index 0000000..b1a7c16 --- /dev/null +++ b/layouts/partials/inject/header-before.html @@ -0,0 +1 @@ +