Replace _ with - in file names

master
Will Faught 3 years ago
parent e5ab39b3a2
commit b6783d2750

@ -92,11 +92,11 @@ Single pages use the `link` page parameter, if any, as the reference for
an anchor around the page title, if any. If the page or site parameter
`math` is set to true, math typesetting is enabled with KaTeX.
The `paige_search` layout provides full site search. It requires setting
The `paige-search` layout provides full site search. It requires setting
`outputs.home` to `["html", "json", "rss"]` in `config.yaml`.
If `partials/paige_head_last.html` exists in the site, it is included at
the end of the head tag. If `partials/paige_body_last.html` exists in
If `partials/paige-head-last.html` exists in the site, it is included at
the end of the head tag. If `partials/paige-body-last.html` exists in
the site, it is included at the end of the body tag.
To hide the theme link, set the site parameter `paigehidethemelink` to

@ -1,4 +1,4 @@
---
layout: paige_search
layout: paige-search
title: Search
---

@ -1,23 +1,23 @@
<!doctype html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "paige_head.html" . }}
{{ partial "paige-head.html" . }}
<body class="d-flex flex-column">
<div class="container flex-fill">
<div class="row">
<div class="col">
{{ partial "paige_header.html" . }}
{{ partial "paige-header.html" . }}
<main>
<article>
{{ block "main" . }}{{ end }}
</article>
</main>
{{ partial "paige_footer.html" . }}
{{ partial "paige-footer.html" . }}
</div>
</div>
</div>
{{ partial "paige_script.html" . }}
{{ if templates.Exists "partials/paige_body_last.html" }}
{{ partial "paige_body_last.html" . }}
{{ partial "paige-script.html" . }}
{{ if templates.Exists "partials/paige-body-last.html" }}
{{ partial "paige-body-last.html" . }}
{{ end }}
</body>
</html>

@ -1,7 +1,7 @@
{{ define "main" }}
{{ partial "paige_title.html" . }}
{{ partial "paige_description.html" . }}
{{ partial "paige_date.html" . }}
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-date.html" . }}
{{ if .Params.stretch }}
<div class="rounded-4 shadow" style="background-image: url('{{ relURL .Params.stretch }}'); background-position: center; background-size: cover; height: 20rem; max-width: 100%"></div>
{{ end }}
@ -20,6 +20,6 @@
</div>
</section>
{{ end }}
{{ partial "paige_content.html" . }}
{{ partial "paige_social.html" . }}
{{ partial "paige-content.html" . }}
{{ partial "paige-social.html" . }}
{{ end }}

@ -1,4 +1,4 @@
{{ define "main" }}
{{ partial "paige_main.html" . }}
{{ partial "paige_pages.html" . }}
{{ partial "paige-main.html" . }}
{{ partial "paige-pages.html" . }}
{{ end }}

@ -0,0 +1,4 @@
{{ define "main" }}
{{ partial "paige-main.html" . }}
{{ partial "paige-search.html" . }}
{{ end }}

@ -1,4 +0,0 @@
{{ define "main" }}
{{ partial "paige_main.html" . }}
{{ partial "paige_search.html" . }}
{{ end }}

@ -1,3 +1,3 @@
{{ define "main" }}
{{ partial "paige_main.html" . }}
{{ partial "paige-main.html" . }}
{{ end }}

@ -1,5 +1,5 @@
{{ define "main" }}
{{ partial "paige_main.html" . }}
{{ partial "paige-main.html" . }}
{{ if .Pages }}
<section>
<ul class="list-inline text-center">

@ -1,4 +1,4 @@
{{ define "main" }}
{{ partial "paige_main.html" . }}
{{ partial "paige_pages.html" . }}
{{ partial "paige-main.html" . }}
{{ partial "paige-pages.html" . }}
{{ end }}

@ -0,0 +1,9 @@
<head>
{{ partial "paige-meta.html" . }}
<title>{{ partial "paige-titles.html" . }}</title>
{{ partial "paige-link.html" . }}
{{ partial "paige-style.html" . }}
{{ if templates.Exists "partials/paige-head-last.html" }}
{{ partial "paige-head-last.html" . }}
{{ end }}
</head>

@ -1,5 +1,5 @@
{{ if .Site.Menus.main }}
<header>
{{ partial "paige_menu.html" . }}
{{ partial "paige-menu.html" . }}
</header>
{{ end }}

@ -12,7 +12,7 @@
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/katex@0.16.3/dist/katex.min.css" integrity="sha384-Juol1FqnotbkyZUT5Z7gUPjQ9gzlwCENvUZTpQBAPxtusdwFLRy382PSDx5UUJ4/" rel="stylesheet">
{{ end }}
{{ if .AlternativeOutputFormats }}
{{ $title := partial "paige_titles.html" . }}
{{ $title := partial "paige-titles.html" . }}
{{ range .AlternativeOutputFormats }}
<link href="{{ .Permalink }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
{{ end }}

@ -0,0 +1,4 @@
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-date.html" . }}
{{ partial "paige-content.html" . }}

@ -15,7 +15,7 @@
{{ end }}
{{ if or $p.HasPrev $p.HasNext }}
<div class="d-flex justify-content-center pt-3">
{{ partial "paige_pagination.html" . }}
{{ partial "paige-pagination.html" . }}
</div>
{{ end }}
</section>

@ -1,9 +0,0 @@
<head>
{{ partial "paige_meta.html" . }}
<title>{{ partial "paige_titles.html" . }}</title>
{{ partial "paige_link.html" . }}
{{ partial "paige_style.html" . }}
{{ if templates.Exists "partials/paige_head_last.html" }}
{{ partial "paige_head_last.html" . }}
{{ end }}
</head>

@ -1,4 +0,0 @@
{{ partial "paige_title.html" . }}
{{ partial "paige_description.html" . }}
{{ partial "paige_date.html" . }}
{{ partial "paige_content.html" . }}
Loading…
Cancel
Save