diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-12-18 20:09:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-12-18 20:09:35 +0900 |
| commit | 6af7a23d766d10abc7be15a801ddd04a52d50f60 (patch) | |
| tree | 7b3fdbfce81c4733ae080c1de0de65017b0933cf | |
| parent | a3cb00e5ae96ba92333746746b1e224ddc726145 (diff) | |
| download | feedaka-6af7a23d766d10abc7be15a801ddd04a52d50f60.tar.gz feedaka-6af7a23d766d10abc7be15a801ddd04a52d50f60.tar.zst feedaka-6af7a23d766d10abc7be15a801ddd04a52d50f60.zip | |
fix: conflict between js template literal and golang template notation
| -rw-r--r-- | templates/read-feeds.html | 2 | ||||
| -rw-r--r-- | templates/unread-feeds.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/read-feeds.html b/templates/read-feeds.html index 8d964f0..08a2626 100644 --- a/templates/read-feeds.html +++ b/templates/read-feeds.html @@ -29,7 +29,7 @@ </ul> </main> </div> - <script>window.BASE_PATH = `{{.BasePath}}`;</script> + <script>window.BASE_PATH = "{{.BasePath}}";</script> <script src="{{.BasePath}}/static/index.js" type="module" defer></script> </body> </html> diff --git a/templates/unread-feeds.html b/templates/unread-feeds.html index e744aae..676f24e 100644 --- a/templates/unread-feeds.html +++ b/templates/unread-feeds.html @@ -29,7 +29,7 @@ </ul> </main> </div> - <script>window.BASE_PATH = `{{.BasePath}}`;</script> + <script>window.BASE_PATH = "{{.BasePath}}";</script> <script src="{{.BasePath}}/static/index.js" type="module" defer></script> </body> </html> |
