chore: update links, remove main menu

This commit is contained in:
Oliver Davies 2022-02-27 12:13:30 +00:00
parent 612cab6e89
commit 5ff0e9a2ab
3 changed files with 11 additions and 47 deletions

View file

@ -29,50 +29,6 @@ linkedin:
menus:
footer:
- title: Calendars
href: '%savvycal.url%'
- title: Pair with me
href: /pair-with-me
is_active: '^/pair-with-me/?'
- title: Test-Driven Drupal
href: /test-driven-drupal
is_active: '^/test-driven-drupal/?'
- title: Recommendations
href: /recommendations
- title: RSS feed
href: /rss.xml
- title: Speaker information
href: /speaker-information
- title: Drupal.org
href: '%drupalorg.url%'
is_active: false
- title: Packagist
href: '%packagist.url%'
is_active: false
- title: GitHub
href: '%github.url%'
is_active: false
- title: GitHub gists
href: '%github.gist.url%'
is_active: false
- title: Twitter
href: '%twitter.url%'
is_active: false
- title: YouTube
href: '%youtube.channel.url%'
is_active: false
main:
- title: About
href: /
is_active: '^//$'
@ -84,6 +40,12 @@ menus:
- title: Talks
href: /talks
is_active: '^/talks/?'
- title: Recommendations
href: /recommendations
- title: RSS feed
href: /rss.xml
main: []
packagist:
name: opdavies

View file

@ -1,4 +1,4 @@
<footer class="mt-20">
<footer>
<nav class="flex flex-wrap justify-center -mb-3">
{% for link in site.menus.footer %}
<a class="mx-3 mb-3 text-sm md:text-lg dark:text-white hover:text-gray-900 link dark:hover:text-blue-400" href="{{ link.href }}">{{ link.title }}</a>

View file

@ -6,7 +6,7 @@
{% include 'navbar' %}
<div class="py-10 px-4 mx-auto max-w-2xl md:py-16">
<div class="py-10 px-4 mx-auto max-w-2xl md:py-10">
<div id="main-content">
<h1 class="text-xl font-bold md:text-2xl">
{% block page_title %}
@ -21,7 +21,9 @@
</div>
</div>
{% include 'footer' %}
<div class="mt-20 mb-6">
{% include 'footer' %}
</div>
</div>
</div>
{% endblock %}