move pages to root dir
This commit is contained in:
parent
50e7bd805a
commit
32762ec984
@ -8,7 +8,10 @@ params:
|
||||
AuthorName: "Marvin Preuss"
|
||||
mainSections:
|
||||
- "posts"
|
||||
links:
|
||||
locallinks:
|
||||
- search
|
||||
- impressum
|
||||
sociallinks:
|
||||
github: https://github.com/xsteadfastx/
|
||||
twitter: https://twitter.com/xsteadfastx
|
||||
mastodon: https://chaos.social/@xsteadfastx
|
||||
@ -20,6 +23,7 @@ params:
|
||||
theme: "xsfx"
|
||||
permalinks:
|
||||
posts: "/:year/:month/:day/:slug/"
|
||||
notes: "/notes/:slug"
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
|
@ -7,7 +7,7 @@
|
||||
<main>
|
||||
<section class="resume-section p-3 p-lg-5 d-flex flex-column">
|
||||
<div class="my-auto" >
|
||||
<form action="{{ "pages/search" | absURL }}">
|
||||
<form action="{{ "search" | absURL }}">
|
||||
<input id="search-query" name="s"/>
|
||||
</form>
|
||||
<div id="search-results">
|
||||
|
@ -2,10 +2,10 @@
|
||||
<div class="row">
|
||||
<div class="column"></div>
|
||||
<div class="column"></div>
|
||||
{{ range where .Site.RegularPages "Type" "pages"}}
|
||||
<div class="column"><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
|
||||
{{ range $page := .Site.Params.locallinks }}
|
||||
<div class="column"><a href="{{ $page | relURL }}">{{ $page }}</a></div>
|
||||
{{ end }}
|
||||
{{ range $name, $url := .Site.Params.links}}
|
||||
{{ range $name, $url := .Site.Params.sociallinks}}
|
||||
<div class="column"><a href="{{ $url }}">{{ $name }}</a></div>
|
||||
{{ end }}
|
||||
<div class="column"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user