Embed guestbook CSS and JavaScript files in the <head> element

This commit is contained in:
Helen Chong 2024-06-18 16:41:40 +08:00
parent 7275dd84cd
commit 2d4671d8ea
1 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,7 @@
---
title: Guestbook
customCSSSheet: ["svgIconControl", "comments"]
customJSFiles: ["svgIconControl", "googleSheetsReaderGizmo", "comments"]
eleventyNavigation:
key: Guestbook
order: 9
@ -39,14 +41,6 @@ eleventyComputed:
</div>
</noscript>
<link rel="stylesheet" href="{{'/assets/css/svgIconControl.css' | url | safe}}">
<script src="/assets/js/svgIconControl.js"></script>
<script src="/assets/js/googleSheetsReaderGizmo.js"></script>
<link rel="stylesheet" href="{{'/assets/css/comments.css' | url | safe}}">
<script src="/assets/js/comments.js"></script>
<style>
.gb__messages--title {
text-align: center;