blog-theme
This commit is contained in:
parent
29b925d36b
commit
e00e6162ac
22 changed files with 349 additions and 1875 deletions
3
layouts/_default/_markup/render-codeblock.html
Normal file
3
layouts/_default/_markup/render-codeblock.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="highlight" data-lang="{{ .Type }}">
|
||||
{{ highlight .Inner .Type | safeHTML }}
|
||||
</div>
|
|
@ -2,6 +2,8 @@
|
|||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
|
||||
<div class="content">
|
||||
{{ if .Site.Params.Stork }}
|
||||
<div class="stork-search">
|
||||
<input data-stork="home" placeholder="🔎 Search {{ .Site.Title }}...">
|
||||
|
@ -9,13 +11,10 @@
|
|||
<div data-stork="home-output"></div>
|
||||
<br>
|
||||
{{ end }}
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
<div class="page">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
{{- partial "footer.html" . -}}
|
||||
<br>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue