🏗️ Finish post copy right widget coding.
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
{{- .Scratch.Set "pluginCDN" $pluginCDN -}}
|
||||
{{ $posts := len (where .Page.Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
|
||||
{{- .Scratch.Set "posts" $posts -}}
|
||||
{{/* TODO IsHome */}}
|
||||
{{- .Scratch.Set "IsHome" .IsHome }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ $lang }}">
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- define "main_class" }}page{{- end }}
|
||||
{{- define "main" }}
|
||||
{{ partial "post_content.html" . }}
|
||||
{{ partial "post_content.html" (dict "ctx" . "IsHome" false) }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user