mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
theme: remove disfunct initial handling #891
This commit is contained in:
parent
4a43773272
commit
3f9e8cbdeb
3 changed files with 0 additions and 19 deletions
|
@ -1,3 +0,0 @@
|
|||
{{- $content := .content }}
|
||||
{{- $indention := .indention }}
|
||||
{{- replaceRE "(\\r\\n|\\r|\\n)" (printf "$1%s" $indention) (replaceRE "^" $indention (trim $content "\n\r\t ")) | safeHTML }}
|
|
@ -1,7 +0,0 @@
|
|||
{{- $title := partial "pageHelper/title.hugo" (dict "page" .) }}
|
||||
{{- if not $title }}
|
||||
{{- $title := site.Title }}
|
||||
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
|
||||
{{- end }}
|
||||
|
||||
{{- "layouts/partials/initial.md" | readFile | .RenderString }}
|
|
@ -1,9 +0,0 @@
|
|||
## Create this Page
|
||||
|
||||
You need to create a file for this page. You can either
|
||||
|
||||
- create a file in the `content` folder and fill it with Markdown content
|
||||
- inside a folder named by the page's title like `<TITLE>/_index.md` or `<TITLE>/index.md`
|
||||
- named by the page's title like `<TITLE>.md`
|
||||
- create a file in the `static` folder and fill it with HTML content
|
||||
- inside a folder named by the page's title like `<TITLE>/index.html`
|
Loading…
Reference in a new issue