";
- echo $post["name"] . "
";
- echo "
";
- echo '';
- echo $post["date"] . "
";
- echo "
";
- echo "";
- echo $post["message"] . "
";
- echo "
diff --git a/.gitmodules b/.gitmodules index 19c7c1c..616f9a6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/readable"] path = themes/readable url = https://git.fbievan.live/fbievan/hugo-theme-readable +[submodule "static/guestbook"] + path = static/guestbook + url = https://git.fbievan.live/fbievan/guestbook.git diff --git a/static/guestbook b/static/guestbook new file mode 160000 index 0000000..3c7bd7a --- /dev/null +++ b/static/guestbook @@ -0,0 +1 @@ +Subproject commit 3c7bd7aa909519d9b927a8053b135b5305a91de1 diff --git a/static/guestbook/guestbook.css b/static/guestbook/guestbook.css deleted file mode 100644 index 1562ea5..0000000 --- a/static/guestbook/guestbook.css +++ /dev/null @@ -1,21 +0,0 @@ -.guestbookpost { - padding: 10px; - border: var(--line-width) solid; - border-left-style: none; - border-right-style: none; - border-top-style: solid; - border-bottom-style: none; - text-align: left; - padding-bottom: 20px; - padding-top: 10px; - } -.date { - padding-top: 0px; - padding-bottom: 15px; -} -h4 { - margin-top: 0px; -} -p { - padding-left: 4px; -} diff --git a/static/guestbook/index.html b/static/guestbook/index.html deleted file mode 100644 index b205192..0000000 --- a/static/guestbook/index.html +++ /dev/null @@ -1,48 +0,0 @@ - - -
- -This is a guestbook, made by fbievan
-";
- echo $post["message"] . "
";
- echo "