diff options
Diffstat (limited to 'layouts/partials/docs/inject/content-before.html')
| -rw-r--r-- | layouts/partials/docs/inject/content-before.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/layouts/partials/docs/inject/content-before.html b/layouts/partials/docs/inject/content-before.html deleted file mode 100644 index d33168e..0000000 --- a/layouts/partials/docs/inject/content-before.html +++ /dev/null @@ -1,21 +0,0 @@ -<div class="flex justify-between align-center"> -{{ if not .IsHome}} - {{ if .Title }} - <h1>{{ .Title }}</h1> - {{ else }} - <h1>{{ .Site.Title }}</h1> - {{ end }} - {{ if and .GitInfo .Site.Params.BookRepo }} - <div> - {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}} - <a class="flex align-center" href="{{ partial "docs/links/commit" . }}" title='last modified | {{ $date | lower }}' target="_blank" rel="noopener"> - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="book-icon"> - <path d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z" fill="currentColor"/> - <path fill="none" d="M0 0h24v24H0z"/> - </svg> - <span>{{ $date | lower }}</span> - </a> - </div> - {{ end }} -{{ end }} -</div> |
