Add initial build tooling skeleton

This commit is contained in:
Ethan Paul 2021-04-16 00:57:43 -04:00
parent d4b2a8441d
commit f9b18637cf
No known key found for this signature in database
GPG Key ID: D0E2CBF1245E92BF
11 changed files with 105 additions and 176 deletions

0
build.py Normal file
View File

10
config.yaml Normal file
View File

@ -0,0 +1,10 @@
---
base_url: https://allaroundhere.org/explore/
path:
output: explore
posts:
- title: A 1:1 recreation of the set for Star Trek the Original Series
slug: star-trek-set-tours
location: Ticonderoga, NY
date: 2020-01-01
banner: https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg

0
error/400.html Normal file
View File

0
error/404.html Normal file
View File

0
error/500.html Normal file
View File

0
error/502.html Normal file
View File

View File

@ -1,176 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Web crawler and search indexing meta -->
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="author" content="admin@allaroundhere.org"/>
<meta name="description" content="Some of the best places are all around here"/>
<meta name="robots" content="index follow"/>
<meta
name="keywords"
content="travel photography explore exploration urbex urban nature all around here local museum history historical society"
/>
<!-- Facebook integration meta -->
<meta property="og:title" content="All Around Here"/>
<meta property="og:url" content="https://allaroundhere.org/explore/"/>
<meta property='og:site_name' content="All Around Here"/>
<meta property="og:type" content="website"/>
<meta property='og:locale' content="en_US"/>
<meta property="og:image" content="https://cdn.enp.one/img/backgrounds/cl-photo-boston.jpg"/>
<meta property='og:description' content="Some of the best places are all around here"/>
<!-- Twitter integration meta -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="https://allaroundhere.org/explore/">
<meta name="twitter:title" content="All Around Here">
<meta name="twitter:description" content="Some of the best places are all around here">
<meta name="twitter:image" content="https://cdn.enp.one/img/backgrounds/cl-photo-boston.jpg">
<meta name="twitter:image:alt" content="All Around Here">
<title>Explore All Around Here</title>
<link rel="shortcut icon" href="https://cdn.enp.one/img/logos/aah-b-sm.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.enp.one/img/logos/aah-b-sm.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://cdn.enp.one/img/logos/aah-b-sm.png" >
<link rel="icon" type="image/png" sizes="16x16" href="https://cdn.enp.one/img/logos/aah-b-sm.png">
<link rel="stylesheet" href="../css/explore.css"/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
crossorigin="anonymous"
/>
<script type="text/javascript" src="../js/custom.js"></script>
<noscript><style>.nojs { display: none; }</style></noscript>
</head>
<body>
<div id="background-image"><div class="overlay"></div></div>
<div id="preloader" class="nojs"><div class="spinner"><div></div></div></div>
<div id="toggle-description" class="nojs"><i class="fas fa-paragraph"></i></div>
<div id="content">
<div id="header"><h1>Explore All Around Here</h1></div>
<ul>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg');">
<a href="#" class="article-content">
<h2>A 1:1 recreation of the set for Star Trek the Original Series</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-letchworth.jpg');">
<a href="#" class="article-content">
<h2>The past-and-present radar station on Cape Cod</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-hotel.jpg');">
<a href="#" class="article-content">
<h2>Wreck of a B-52 bomber deep in the backwoods of Maine</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-library.jpg');">
<a href="#" class="article-content">
<h2>Even the longest roads have to start somewhere</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg');">
<a href="#" class="article-content">
<h2>A bit of Central Park in northern Vermont</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg');">
<a href="#" class="article-content">
<h2>A bit of Central Park in northern Vermont</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg');">
<a href="#" class="article-content">
<h2>A bit of Central Park in northern Vermont</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg');">
<a href="#" class="article-content">
<h2>A bit of Central Park in northern Vermont</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
<li class="article">
<div class="article-banner" style="background-image: url('https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg');">
<a href="#" class="article-content">
<h2>A bit of Central Park in northern Vermont</h2>
<p>
<i class="fas fa-map-marker-alt"></i>Ticonderoga, NY
<i class="far fa-calendar-alt"></i>January 2nd, 2020
</p>
</a>
</div>
</li>
</ul>
</div>
</body>
</html>

15
pyproject.toml Normal file
View File

@ -0,0 +1,15 @@
[tool.poetry]
name = "allaroundhere.org"
version = "0.0.0"
description = ""
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

80
templates/index.html.j2 Normal file
View File

@ -0,0 +1,80 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Web crawler and search indexing meta -->
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="author" content="admin@allaroundhere.org"/>
<meta name="description" content="Some of the best places are all around here"/>
<meta name="robots" content="index follow"/>
<meta
name="keywords"
content="travel photography explore exploration urbex urban nature all around here local museum history historical society"
/>
<!-- Facebook integration meta -->
<meta property="og:title" content="All Around Here"/>
<meta property="og:url" content="https://allaroundhere.org/explore/"/>
<meta property='og:site_name' content="All Around Here"/>
<meta property="og:type" content="website"/>
<meta property='og:locale' content="en_US"/>
<meta property="og:image" content="https://cdn.enp.one/img/backgrounds/cl-photo-boston.jpg"/>
<meta property='og:description' content="Some of the best places are all around here"/>
<!-- Twitter integration meta -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="https://allaroundhere.org/explore/">
<meta name="twitter:title" content="All Around Here">
<meta name="twitter:description" content="Some of the best places are all around here">
<meta name="twitter:image" content="https://cdn.enp.one/img/backgrounds/cl-photo-boston.jpg">
<meta name="twitter:image:alt" content="All Around Here">
<title>Explore All Around Here</title>
<link rel="shortcut icon" href="https://cdn.enp.one/img/logos/aah-b-sm.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.enp.one/img/logos/aah-b-sm.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://cdn.enp.one/img/logos/aah-b-sm.png" >
<link rel="icon" type="image/png" sizes="16x16" href="https://cdn.enp.one/img/logos/aah-b-sm.png">
<link rel="stylesheet" href="../css/explore.css"/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
crossorigin="anonymous"
/>
<script type="text/javascript" src="../js/custom.js"></script>
<noscript><style>.nojs { display: none; }</style></noscript>
</head>
<body>
<div id="background-image"><div class="overlay"></div></div>
<div id="preloader" class="nojs"><div class="spinner"><div></div></div></div>
<div id="toggle-description" class="nojs"><i class="fas fa-paragraph"></i></div>
<div id="content">
<div id="header"><h1>Explore All Around Here</h1></div>
<ul>
{% for post in config.posts %}
<li class="article">
<div class="article-banner" style="background-image: url('{{ post.banner }}');">
<a href="{{ post.slug }}" class="article-content">
<h2>{{ post.title }}</h2>
<p>
<i class="fas fa-map-marker-alt"></i>{{ post.location }}
<i class="far fa-calendar-alt"></i>{{ post.date }}
</p>
</a>
</div>
</li>
{% endfor %}
</ul>
</div>
</body>
</html>

View File

0
templates/post.html.j2 Normal file
View File