From 25af043d3dc1a95f3751c5a18522a303a94ef15e Mon Sep 17 00:00:00 2001 From: Thomas Chartron Date: Thu, 4 Nov 2021 22:50:54 +0100 Subject: [PATCH] update --- static/js/main.js | 5 +++++ templates/404.html | 0 templates/page.html | 0 templates/robots.txt | 3 +++ templates/section.html | 0 5 files changed, 8 insertions(+) create mode 100644 static/js/main.js create mode 100644 templates/404.html create mode 100644 templates/page.html create mode 100644 templates/robots.txt create mode 100644 templates/section.html diff --git a/static/js/main.js b/static/js/main.js new file mode 100644 index 0000000..8e28a75 --- /dev/null +++ b/static/js/main.js @@ -0,0 +1,5 @@ +document.addEventListener("DOMContentLoaded", function() { + let navbar_links = document.querySelector('#nav-links'); + console.log(navbar_links); +}); + diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/robots.txt b/templates/robots.txt new file mode 100644 index 0000000..b345a1a --- /dev/null +++ b/templates/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / +Sitemap: {{ get_url(path="sitemap.xml") }} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..e69de29