mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 16:10:43 +00:00
Indent consistently with 2 spaces
This commit is contained in:
parent
cf116ca468
commit
1385f95d7f
11 changed files with 86 additions and 86 deletions
|
@ -1,21 +1,21 @@
|
|||
<h1 class="display-4">{{ .Title }}</h1>
|
||||
{{ if .Params.subtitle }}
|
||||
<h5 class="my-3">{{ markdownify .Params.subtitle | emojify }}</h5>
|
||||
<h5 class="my-3">{{ markdownify .Params.subtitle | emojify }}</h5>
|
||||
{{ end }}
|
||||
|
||||
{{ if .IsPage }}
|
||||
<p>{{ partial "content-details.html" . }}</p>
|
||||
<p>{{ partial "content-details.html" . }}</p>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Content }}
|
||||
<hr>
|
||||
<hr>
|
||||
|
||||
<div class="content mt-3">
|
||||
{{ if .TableOfContents }}
|
||||
<div class="float-lg-end ml-lg-3 mb-3 p-3">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<div class="content mt-3">
|
||||
{{ if .TableOfContents }}
|
||||
<div class="float-lg-end ml-lg-3 mb-3 p-3">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
<footer class="p-5">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-9">
|
||||
<p>© {{ now.Year }} <a href='{{ ref . "contact" }}'>{{ .Site.Title }}</a>.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<h3 class="text-right">
|
||||
{{ range .Site.Data.social.footer_accounts }}
|
||||
{{ $account := index $.Site.Data.social.accounts . }}
|
||||
<a href="{{ $account.link }}"><i class="mx-1 {{ $account.icon }}" aria-hidden="true" title="{{ $account.name }}"></i></a>
|
||||
{{ end }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-9">
|
||||
<p>© {{ now.Year }} <a href='{{ ref . "contact" }}'>{{ .Site.Title }}</a>.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<h3 class="text-right">
|
||||
{{ range .Site.Data.social.footer_accounts }}
|
||||
{{ $account := index $.Site.Data.social.accounts . }}
|
||||
<a href="{{ $account.link }}"><i class="mx-1 {{ $account.icon }}" aria-hidden="true" title="{{ $account.name }}"></i></a>
|
||||
{{ end }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<div class="media list-page-item mb-3" data-id="{{ with .File}}{{ .File.UniqueID }}{{ end }}">
|
||||
<div class="media-body">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<h5 class="my-0">{{ .Title }}</h5>
|
||||
</a>
|
||||
<small>{{ partial "content-details.html" . }}</small>
|
||||
<p>{{ partial "summary.html" . }}</p>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<h5 class="my-0">{{ .Title }}</h5>
|
||||
</a>
|
||||
<small>{{ partial "content-details.html" . }}</small>
|
||||
<p>{{ partial "summary.html" . }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{{ $script := resources.Get . }}
|
||||
|
||||
{{ if in . "min" }}
|
||||
{{ $script = $script | minify | fingerprint }}
|
||||
{{ $script = $script | minify | fingerprint }}
|
||||
{{ else }}
|
||||
{{ $script = $script | js.Build (dict "minify" true) | fingerprint }}
|
||||
{{ $script = $script | js.Build (dict "minify" true) | fingerprint }}
|
||||
{{ end }}
|
||||
|
||||
<script type="text/javascript" src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{{ $script := resources.Get . }}
|
||||
|
||||
{{ if in . "min" }}
|
||||
{{ $script = $script | minify | fingerprint }}
|
||||
{{ $script = $script | minify | fingerprint }}
|
||||
{{ else }}
|
||||
{{ $script = $script | js.Build (dict "minify" true) | fingerprint }}
|
||||
{{ $script = $script | js.Build (dict "minify" true) | fingerprint }}
|
||||
{{ end }}
|
||||
|
||||
<script type="text/javascript" async src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ if .Content }}
|
||||
{{ .Summary | chomp }}{{ if .Truncated }}…{{ end }}
|
||||
{{ .Summary | chomp }}{{ if .Truncated }}…{{ end }}
|
||||
{{ else if .Params.subtitle }}
|
||||
{{ .Params.subtitle | markdownify | emojify }}
|
||||
{{ .Params.subtitle | markdownify | emojify }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ .Title }} ::
|
||||
|
||||
{{ if .Parent }}{{ if not .Parent.IsHome }}
|
||||
{{ partial "title-item.html" .Parent }}
|
||||
{{ partial "title-item.html" .Parent }}
|
||||
{{ end }}{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue