first
This commit is contained in:
31
_includes/artistlist.njk
Normal file
31
_includes/artistlist.njk
Normal file
@ -0,0 +1,31 @@
|
||||
{% css %}{% include "css/artist-market.css" %}{% endcss %}
|
||||
|
||||
<ul id="artists">
|
||||
{% for artist in artists | randomize %}
|
||||
<li id="{{ artist.data.id }}" class="artist">
|
||||
{% if artist.data.img.src and artist.data.img.alt %}
|
||||
<div class="fit-contain">
|
||||
<img src="/img/artists/{{ artist.data.img.src }}" alt="{{ artist.data.img.alt | createAlt }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
<h3>{{ artist.data.title }}</h3>
|
||||
<div class="description">
|
||||
{% for paragraph in artist.data.bio %}
|
||||
<p>{{ paragraph }}</p>
|
||||
{% endfor %}
|
||||
|
||||
{% if artist.data.contacts %}
|
||||
<ul>
|
||||
{% for contact in artist.data.contacts %}
|
||||
<li>
|
||||
<a href="{{ contact.href }}" target="_blank">
|
||||
{{ contact.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
14
_includes/directory.njk
Normal file
14
_includes/directory.njk
Normal file
@ -0,0 +1,14 @@
|
||||
{% css %}{% include "css/directory.css" %}{% endcss %}
|
||||
|
||||
<ol id="directory">
|
||||
{% for item in items %}
|
||||
<li>
|
||||
<a href="{{ item.url }}">
|
||||
<h2>{{ item.data.shortTitle or item.data.title }}</h2>
|
||||
{% if item.data.img.src and item.data.img.alt %}
|
||||
<img src="/img/{{ item.data.img.src }}" alt="{{ item.data.img.alt }}">
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
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>
|
||||
37
_includes/head.njk
Normal file
37
_includes/head.njk
Normal file
@ -0,0 +1,37 @@
|
||||
<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="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<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 }}" />
|
||||
<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>{% include "css/nav.css" %}</style>
|
||||
|
||||
<style>{% getBundle "css" %}</style>
|
||||
|
||||
<!-- JS -->
|
||||
<script type="module">{% getBundle "js" %}</script>
|
||||
|
||||
<!-- Font -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Bellota:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
24
_includes/header.njk
Normal file
24
_includes/header.njk
Normal file
@ -0,0 +1,24 @@
|
||||
<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>
|
||||
7
_includes/layouts/page.njk
Normal file
7
_includes/layouts/page.njk
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: base.njk
|
||||
---
|
||||
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
{{ content | safe }}
|
||||
6
_includes/layouts/resident.njk
Normal file
6
_includes/layouts/resident.njk
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: base.njk
|
||||
---
|
||||
{% css %}{% include "css/artist-resident.css" %}{% endcss %}
|
||||
|
||||
{{ content | safe }}
|
||||
Reference in New Issue
Block a user