aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-09-22 12:58:12 -0700
committerFranck Cuny <franck@fcuny.net>2024-09-22 12:58:12 -0700
commit6a20b0c18e5093219ae9393f3864354c46bb05cf (patch)
tree4cad4c335d7681a4d64876ef56c51cad4ce74783 /templates/base.html
parentrestructure a bit the index (diff)
downloadfcuny.net-6a20b0c18e5093219ae9393f3864354c46bb05cf.tar.gz
add a menu and improve readability
Add a menu with links to some sections. Tweak the CSS to make the website a bit more readable.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 75d108c..b903da3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,16 +5,32 @@
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="canonical" href="{{- current_url|safe -}}" />
<link rel="stylesheet" href="/css/custom.css" />
+ <link rel="stylesheet" href="/css/carousel.css" />
<meta name="author" content="{{- config.author -}}" />
<meta name="description" content="{%- block description -%}{{- config.description -}}{%- endblock description -%}" />
<link rel="alternate" type="application/atom+xml" title="Blog posts" href="{{ get_url(path="/feed.xml", trailing_slash=false) }}" />
+ <script src="/js/carousel.js"></script>
<title>{% block title %}{{- config.title -}}{% endblock title %}</title>
</head>
<body>
- {% block content %}{% endblock content %}
+ <div class="container">
+ <nav class="menu">
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/blog">Blog</a></li>
+ <li><a href="/notes">Notes</a></li>
+ <li><a href="/about">About</a></li>
+ <li><a href="https://git.fcuny.net">Code</a></li>
+ </ul>
+ </nav>
+
+ <div class="content">
+ {% block content %}{% endblock content %}
+ </div>
+ </div>
</body>
</html>