From 873fc47844d8e6ee8d87f08fef24974c41e3fa37 Mon Sep 17 00:00:00 2001 From: VnPower Date: Tue, 22 Aug 2023 16:34:12 +0700 Subject: [PATCH] Feature: complete meta tags --- template/layout.jet.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/template/layout.jet.html b/template/layout.jet.html index 6d1ccaf..b7431b6 100644 --- a/template/layout.jet.html +++ b/template/layout.jet.html @@ -14,6 +14,8 @@ + + {{ if BaseURL }} @@ -22,22 +24,28 @@ {{ if isset(PageType) }} - {{ if PageType == "artwork" }} - {{ if Illust.XRestrict }} - - {{ else }} + {{ if PageType == "artwork" }} + + {{ if ! Illust.XRestrict }} - + {{ else }} {{ end }} {{ else if PageType == "user" }} + {{ if User.BackgroundImage }} + + {{ else }} + + {{ end }} {{ end }} + {{ else }} - + + {{ end }} {{ end }}