parent
a8f5a33227
commit
9bfa9a5bd4
|
@ -1,4 +1,4 @@
|
|||
<footer class="border-t border-grey-lighter pt-4 mt-4">
|
||||
<footer class="border-t border-grey-lighter pt-4 mt-4" role="contentinfo">
|
||||
<p>
|
||||
© 2010-{{ 'now'|date('Y') }} {{ site.title }}. Built with <a href="https://sculpin.io">Sculpin</a> and <a href="https://tailwindcss.com">Tailwind CSS</a>.
|
||||
</p>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="navbar border-bottom border-b border-grey-lighter mb-6">
|
||||
<div class="navbar border-bottom border-b border-grey-lighter mb-6" role="banner">
|
||||
<header class="container mx-auto px-4">
|
||||
<div class="sm:flex">
|
||||
<div class="w-full sm:w-1/3 lg:w-1/4 flex items-center">
|
||||
|
@ -24,7 +24,7 @@
|
|||
{ title: 'Contact', href: '/contact', pattern: '^/contact/?' }
|
||||
] %}
|
||||
|
||||
<nav class="hidden w-full md:w-2/3 lg:w-3/4 sm:flex sm:flex-wrap sm:justify-end">
|
||||
<nav class="hidden w-full md:w-2/3 lg:w-3/4 sm:flex sm:flex-wrap sm:justify-end" role="navigation">
|
||||
{% for link in links %}
|
||||
<a href="{{ link.href }}" class="flex items-center -mx-4 p-4 sm:border-b-3 sm:border-transparent sm:ml-4 sm:mr-0 sm:p-0 {{ loop.first ? 'border-t border-grey-lighter sm:border-t-0 sm:border-transparent' }} {{ page.url matches '#' ~ link.pattern ~ '#' ? 'sm:bg-transparent sm:border-blue' }}">
|
||||
{{ link.title }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% block sidebar_wrapper %}
|
||||
<div class="md:w-1/4 px-4">
|
||||
<div class="md:w-1/4 px-4" role="complementary">
|
||||
{% block sidebar %}
|
||||
{% include 'availability' %}
|
||||
{% include 'posts/latest' %}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<div class="container mx-auto px-4">
|
||||
<div class="md:flex -mx-4">
|
||||
<main class="md:w-3/4 px-4 mb-8 lg:mb-0">
|
||||
<main class="md:w-3/4 px-4 mb-8 lg:mb-0" role="main">
|
||||
{% block content_top %}{% endblock %}
|
||||
{% block content_wrapper %}{% block content %}{% endblock %}{% endblock %}
|
||||
{% block content_bottom %}{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue