Add footer menu
This commit is contained in:
parent
f839687b04
commit
63aea4f10c
|
@ -1,16 +1,56 @@
|
||||||
name: Oliver Davies
|
name: Oliver Davies
|
||||||
locale: en-GB
|
locale: en-GB
|
||||||
|
|
||||||
|
drupalorg:
|
||||||
|
name: opdavies
|
||||||
|
url: 'https://www.drupal.org/u/%drupalorg.name%'
|
||||||
|
|
||||||
|
github:
|
||||||
|
name: opdavies
|
||||||
|
url: 'https://github.com/%github.name%'
|
||||||
|
|
||||||
menus:
|
menus:
|
||||||
|
footer:
|
||||||
|
- title: Uses
|
||||||
|
href: /uses
|
||||||
|
|
||||||
|
- title: Speaker information
|
||||||
|
href: /speaker-information
|
||||||
|
|
||||||
|
- title: Drupal.org
|
||||||
|
href: '%drupalorg.url%'
|
||||||
|
is_active: false
|
||||||
|
|
||||||
|
- title: GitHub
|
||||||
|
href: '%github.url%'
|
||||||
|
is_active: false
|
||||||
|
|
||||||
|
- title: Twitter
|
||||||
|
href: '%twitter.url%'
|
||||||
|
is_active: false
|
||||||
|
|
||||||
|
- title: YouTube
|
||||||
|
href: '%youtube.url%'
|
||||||
|
is_active: false
|
||||||
|
|
||||||
main:
|
main:
|
||||||
- title: About
|
- title: About
|
||||||
href: /
|
href: /
|
||||||
is_active: '^//$'
|
is_active: '^//$'
|
||||||
|
|
||||||
- title: Blog
|
- title: Blog
|
||||||
href: /blog
|
href: /blog
|
||||||
is_active: '^/blog/?'
|
is_active: '^/blog/?'
|
||||||
|
|
||||||
- title: Talks
|
- title: Talks
|
||||||
href: /talks
|
href: /talks
|
||||||
is_active: '^/talks/?'
|
is_active: '^/talks/?'
|
||||||
|
|
||||||
|
twitter:
|
||||||
|
name: opdavies
|
||||||
|
url: 'https://twitter.com/%twitter.name%'
|
||||||
|
|
||||||
|
youtube:
|
||||||
|
channel:
|
||||||
|
id: UCkeK0qF9HHUPQH_fvn4ghqQ
|
||||||
|
url: 'https://www.youtube.com/channel/%youtube.channel.id%'
|
||||||
|
|
|
@ -6,12 +6,14 @@
|
||||||
|
|
||||||
{% include 'navbar' %}
|
{% include 'navbar' %}
|
||||||
|
|
||||||
<div class="py-16">
|
<div class="max-w-2xl px-4 py-16 mx-auto">
|
||||||
<div id="main-content" class="max-w-2xl px-4 mx-auto">
|
<div id="main-content">
|
||||||
{% block content_wrapper %}
|
{% block content_wrapper %}
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% include 'footer' %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
7
source/_partials/footer.html.twig
Normal file
7
source/_partials/footer.html.twig
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<footer class="mt-10">
|
||||||
|
<nav>
|
||||||
|
{% for link in site.menus.footer %}
|
||||||
|
<a href="{{ link.href }}">{{ link.title }}</a>
|
||||||
|
{% endfor %}
|
||||||
|
</nav>
|
||||||
|
</footer>
|
Loading…
Reference in a new issue