From 93d50794b967c0689615db962cdd92ea11640571 Mon Sep 17 00:00:00 2001 From: 3nprob <3nprob@3nprob> Date: Fri, 8 Oct 2021 02:22:01 +0900 Subject: [PATCH] minor tempate refactor --- templates/bare-album.pug | 1 - templates/gallery.pug | 1 - templates/includes/head.pug | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/bare-album.pug b/templates/bare-album.pug index 369891c..f5a9646 100644 --- a/templates/bare-album.pug +++ b/templates/bare-album.pug @@ -1,6 +1,5 @@ html head - title #{pageTitle} include includes/head.pug body img(src=util.proxyURL(url), alt='' class='album-img') diff --git a/templates/gallery.pug b/templates/gallery.pug index 3be02e8..063e2ae 100644 --- a/templates/gallery.pug +++ b/templates/gallery.pug @@ -41,7 +41,6 @@ mixin media(m) html head - title #{pageTitle} include includes/head.pug body div(class='Gallery-Content') diff --git a/templates/includes/head.pug b/templates/includes/head.pug index 746d193..6442809 100644 --- a/templates/includes/head.pug +++ b/templates/includes/head.pug @@ -1,2 +1,3 @@ +title= pageTitle link(rel="stylesheet", type="text/css", href="/css/styles.css") link(rel="stylesheet", type="text/css", href="/css/custom.css") \ No newline at end of file