mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-18 17:14:15 +00:00
add menu
This commit is contained in:
@ -2,19 +2,38 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
{% assign menu = site.data.menu %}
|
||||
|
||||
<header class="site-masthead">
|
||||
<h1>
|
||||
{{ site.title }}
|
||||
</h1>
|
||||
<h2>
|
||||
{{ site.description }}
|
||||
</h2>
|
||||
{% if site.title %}
|
||||
<h1>
|
||||
{{ site.title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
{% if site.title %}
|
||||
<h2>
|
||||
{{ site.description }}
|
||||
</h2>
|
||||
{% endif %}
|
||||
{% if menu %}
|
||||
<nav class="site-navigation">
|
||||
<ul>
|
||||
{% for item in site.data.menu %}
|
||||
<li>
|
||||
<a href="{{ item.url | prepend: baseurl }}">
|
||||
{{ item.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
<main class="home">
|
||||
|
||||
<h1>
|
||||
Contents<br><img src="{{ '/assets/images/divider.svg' | prepend: site.baseurl }}" alt="">
|
||||
<h1 class="divided">
|
||||
Contents
|
||||
</h1>
|
||||
|
||||
<ul class="post-list">
|
||||
|
@ -8,7 +8,7 @@ layout: default
|
||||
|
||||
<article>
|
||||
|
||||
<h1 class="post-title">
|
||||
<h1 class="post-title divided">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
|
||||
|
Reference in New Issue
Block a user