Replace _ with - in file names

This commit is contained in:
Will Faught
2022-12-12 23:20:23 -08:00
parent e5ab39b3a2
commit b6783d2750
30 changed files with 41 additions and 41 deletions

View File

@@ -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 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. `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`. `outputs.home` to `["html", "json", "rss"]` in `config.yaml`.
If `partials/paige_head_last.html` exists in the site, it is included at 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 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. the site, it is included at the end of the body tag.
To hide the theme link, set the site parameter `paigehidethemelink` to To hide the theme link, set the site parameter `paigehidethemelink` to

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
{{ partial "paige_title.html" . }} {{ partial "paige-title.html" . }}
{{ partial "paige_description.html" . }} {{ partial "paige-description.html" . }}
{{ partial "paige_date.html" . }} {{ partial "paige-date.html" . }}
{{ if .Params.stretch }} {{ 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> <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 }} {{ end }}
@@ -20,6 +20,6 @@
</div> </div>
</section> </section>
{{ end }} {{ end }}
{{ partial "paige_content.html" . }} {{ partial "paige-content.html" . }}
{{ partial "paige_social.html" . }} {{ partial "paige-social.html" . }}
{{ end }} {{ end }}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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>

View File

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

View File

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

View File

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

View File

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

View File

@@ -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>

View File

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