Merge branch 'master' into pr/khusika/545

# Conflicts:
#	exampleSite/config.toml
This commit is contained in:
Dillon
2022-05-21 23:30:58 +08:00
2620 changed files with 16106 additions and 23490 deletions

View File

@@ -13,10 +13,10 @@
{{- $url = .RelPermalink -}}
{{- end -}}
<a href="{{ $url }}"{{ with .Title | default .Name }} title="{{ . }}"{{ end }}{{ if (urls.Parse $url).Host }} rel="noopener noreffer" target="_blank"{{ end }}>
{{- dict "Src" $avatar | partial "plugin/image.html" -}}
{{- dict "Src" $avatar | partial "plugin/img.html" -}}
</a>
{{- else -}}
{{- dict "Src" $avatar | partial "plugin/image.html" -}}
{{- dict "Src" $avatar | partial "plugin/img.html" -}}
{{- end -}}
</div>
{{- end -}}
@@ -28,7 +28,7 @@
{{- end -}}
{{- with $profile.subtitle -}}
<h2 class="home-subtitle">
<div class="home-subtitle">
{{- if $profile.typeit -}}
{{- $id := dict "Content" . "Scratch" $.Scratch | partial "function/id.html" -}}
<div id="{{ $id }}" class="typeit"></div>
@@ -36,7 +36,7 @@
{{- else -}}
{{- . | safeHTML -}}
{{- end -}}
</h2>
</div>
{{- end -}}
{{- if $profile.social -}}