gruh
This commit is contained in:
parent
7a4c5c2d22
commit
2b82345290
663 changed files with 38142 additions and 0 deletions
4
themes/bl/layouts/partials/meta/date-updated.html
Normal file
4
themes/bl/layouts/partials/meta/date-updated.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<time datetime="{{ . }}">
|
||||
{{- i18n "article.date_updated" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
|
||||
</time>
|
||||
{{- /* Trim EOF */ -}}
|
4
themes/bl/layouts/partials/meta/date.html
Normal file
4
themes/bl/layouts/partials/meta/date.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<time datetime="{{ . }}">
|
||||
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
|
||||
</time>
|
||||
{{- /* Trim EOF */ -}}
|
19
themes/bl/layouts/partials/meta/edit.html
Normal file
19
themes/bl/layouts/partials/meta/edit.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ $url := .Params.editURL | default (.Site.Params.article.editURL | default "#") }}
|
||||
{{ $slash := "" }}
|
||||
{{ if .Params.editAppendPath | default ( .Site.Params.article.editAppendPath | default false ) }}
|
||||
{{ if ne (substr $url -1 1) "/" }}
|
||||
{{ $slash = "/" }}
|
||||
{{ end }}
|
||||
{{ $url = printf "%s%s%s" $url $slash (path.Join .File.Path) }}
|
||||
{{ end }}
|
||||
<span class="mb-[2px]">
|
||||
<a
|
||||
href="{{ $url }}"
|
||||
class="text-lg hover:text-primary-500"
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
title="{{ i18n "article.edit_title" }}"
|
||||
><span class="inline-block align-text-bottom">{{ partial "icon.html" "edit" }}</span></a
|
||||
>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
12
themes/bl/layouts/partials/meta/likes.html
Normal file
12
themes/bl/layouts/partials/meta/likes.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<span>
|
||||
{{ if eq .Kind "taxonomy"}}
|
||||
<span id="likes_taxonomy_{{ .Page.Data.Plural }}"
|
||||
{{ else if eq .Kind "term"}}
|
||||
<span id="likes_term_{{ .Page.Data.Term }}"
|
||||
{{ else }}
|
||||
<span id="likes_{{ .File.Path }}"
|
||||
{{ end }}
|
||||
class="animate-pulse inline-block text-transparent max-h-3 rounded-full mt-[-2px] align-middle bg-neutral-300 dark:bg-neutral-400" title="likes">loading</span>
|
||||
<span class="inline-block align-text-bottom">{{ partial "icon.html" "heart" }}</span>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
10
themes/bl/layouts/partials/meta/likes_button.html
Normal file
10
themes/bl/layouts/partials/meta/likes_button.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<span>
|
||||
<button id="button_likes"
|
||||
class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"
|
||||
onclick="process_article()">
|
||||
<span id="button_likes_heart" style="display:none" class="inline-block align-text-bottom">{{ partial "icon.html" "heart" }} </span>
|
||||
<span id="button_likes_emtpty_heart" class="inline-block align-text-bottom">{{ partial "icon.html" "heart-empty" }}</span>
|
||||
<span id="button_likes_text"> Like</span>
|
||||
</button>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
4
themes/bl/layouts/partials/meta/reading-time.html
Normal file
4
themes/bl/layouts/partials/meta/reading-time.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<span title="{{ i18n "article.reading_time_title" }}">
|
||||
{{- i18n "article.reading_time" .ReadingTime | markdownify | emojify -}}
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
12
themes/bl/layouts/partials/meta/views.html
Normal file
12
themes/bl/layouts/partials/meta/views.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<span>
|
||||
{{ if eq .Kind "taxonomy"}}
|
||||
<span id="views_taxonomy_{{ .Page.Data.Plural }}"
|
||||
{{ else if eq .Kind "term"}}
|
||||
<span id="views_term_{{ .Page.Data.Term }}"
|
||||
{{ else }}
|
||||
<span id="views_{{ .File.Path }}"
|
||||
{{ end }}
|
||||
class="animate-pulse inline-block text-transparent max-h-3 rounded-full mt-[-2px] align-middle bg-neutral-300 dark:bg-neutral-400" title="views">loading</span>
|
||||
<span class="inline-block align-text-bottom">{{ partial "icon.html" "eye" }}</span>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
4
themes/bl/layouts/partials/meta/word-count.html
Normal file
4
themes/bl/layouts/partials/meta/word-count.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<span>
|
||||
{{- i18n "article.word_count" .WordCount | markdownify | emojify -}}
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
Loading…
Add table
Add a link
Reference in a new issue