first
This commit is contained in:
7
_includes/footer.njk
Normal file
7
_includes/footer.njk
Normal file
@ -0,0 +1,7 @@
|
||||
<footer>
|
||||
<p>questions?
|
||||
<a href="mailto:beall.greenhouses@gmail.com">email us!</a>
|
||||
</p>
|
||||
<p>brought to you in 2026</p>
|
||||
<p><a href="/attribution/">site attribution</a></p>
|
||||
</footer>
|
||||
36
_includes/head.njk
Normal file
36
_includes/head.njk
Normal file
@ -0,0 +1,36 @@
|
||||
<head>
|
||||
{% if title %}
|
||||
{% set pageTitle %}{{ title }} | {{ metadata.title }}{% endset %}
|
||||
{% else %}
|
||||
{% set pageTitle = metadata.title %}
|
||||
{% endif %}
|
||||
<title>{{ pageTitle }}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<!-- Meta -->
|
||||
<link rel="canonical" href="/" />
|
||||
<meta name="description" content="{{ metadata.description }}" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta property="og:title" content="{{ pageTitle }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="/" />
|
||||
<meta property="og:description" content="{{ metadata.description }}" />
|
||||
|
||||
{#
|
||||
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<meta property="og:image" content="/assets/img/logo.jpg" />
|
||||
<meta property="og:image:alt" content="block print in black and orange of a rufous hummingbird in flight with tail flared. the hummingbird holds a banner that reads 'become ungovernable.'" />
|
||||
#}
|
||||
|
||||
<meta name="generator" content="{{ eleventy.generator }}">
|
||||
|
||||
{#
|
||||
<!-- CSS -->
|
||||
<style>{% include "css/main.css" %}</style>
|
||||
<style>{% getBundle "css" %}</style>
|
||||
|
||||
<!-- JS -->
|
||||
<script type="module">{% getBundle "js" %}</script>
|
||||
#}
|
||||
</head>
|
||||
23
_includes/header.njk
Normal file
23
_includes/header.njk
Normal file
@ -0,0 +1,23 @@
|
||||
<header>
|
||||
<nav title="background image shows the peak of a dilapidated greenhouse in black and white">
|
||||
|
||||
<a href="#main" title="skip to main content" aria-label="skip to main content" id="skip">
|
||||
skip ↷</a>
|
||||
|
||||
<a href="/" aria-label="Beall Greenhouses home" title="Beall Greenhouses home"
|
||||
{% if page.url == "/" %}aria-current="page"{% endif %}>
|
||||
<img src="/img/logo.jpg"
|
||||
alt="block print in black and orange of a rufous hummingbird in flight with tail flared. the hummingbird holds a banner that reads 'become ungovernable.'">
|
||||
</a>
|
||||
|
||||
<ul>
|
||||
{% for entry in collections.all | eleventyNavigation %}
|
||||
<li>
|
||||
<a href="{{ entry.url }}" title="{{ entry.data.title }}"
|
||||
{% if entry.url == page.url %}aria-current="page"{% endif %}
|
||||
>{{ entry.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
16
_includes/layouts/base.njk
Normal file
16
_includes/layouts/base.njk
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{% include "head.njk" %}
|
||||
<body>
|
||||
<div id="content">
|
||||
{% include "header.njk" %}
|
||||
|
||||
<main id="main">
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
{% include "footer.njk" %}
|
||||
<!-- This page `{{ page.url }}` was built on {% currentBuildDate %} -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user