From 2b45f0e28908a6102260da7f234cdb69e6f36eaf Mon Sep 17 00:00:00 2001 From: Morgan Date: Mon, 6 Nov 2023 22:51:44 +0900 Subject: [PATCH] Fix --- config.yml | 3 +-- scripts/remote.sh | 1 + themes/mytheme/layouts/_default/single.html | 19 ++++++++++--------- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100755 scripts/remote.sh diff --git a/config.yml b/config.yml index e76ccd8..bb18bed 100644 --- a/config.yml +++ b/config.yml @@ -1,6 +1,6 @@ baseURL: "http://blog.morgan.kr" title: Morgan's Blog -theme: "mytheme" +theme: "oldtheme" buildDrafts: false buildFuture: false @@ -46,7 +46,6 @@ params: tocopen: false homeInfoParams: Title: Hi, I'm Morgan. - Content: I am student developer in Korea, studying Embedded system and Cryptography. socialIcons: - name: github url: "https://github.com/morgan9e" diff --git a/scripts/remote.sh b/scripts/remote.sh new file mode 100755 index 0000000..17ca76c --- /dev/null +++ b/scripts/remote.sh @@ -0,0 +1 @@ +ssh web /srv/blog/scripts/update.sh diff --git a/themes/mytheme/layouts/_default/single.html b/themes/mytheme/layouts/_default/single.html index e468bae..50b5e99 100644 --- a/themes/mytheme/layouts/_default/single.html +++ b/themes/mytheme/layouts/_default/single.html @@ -1,21 +1,22 @@ {{ define "main" }} -
-
-

{{ .Title }}

-
+
+
+

{{ .Title }}

+
{{ .Date | time.Format ":date_long" }}
-
-
- {{ .Content }} +
+
+ {{ .Content }}
-