Compare commits
6 Commits
0e5346093c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| fd3211a6e4 | |||
|
|
c4c26c0b4f | ||
|
|
0a17495d5a | ||
|
|
45557f26ff | ||
|
|
b29bc550c5 | ||
|
|
21cf66fee7 |
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
node_modules/
|
||||||
32
.github/deploy-to-netlify.yaml
vendored
Normal file
32
.github/deploy-to-netlify.yaml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: 'Deploy to Netlify'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
name: 'Deploy to Netlify'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
name: Checkout
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
npm --version && node --version
|
||||||
|
npm ci --no-update-notifier
|
||||||
|
npm run build
|
||||||
|
- uses: https://github.com/nwtgck/actions-netlify@v2.0
|
||||||
|
name: Deploy
|
||||||
|
with:
|
||||||
|
publish-dir: './build'
|
||||||
|
production-deploy: true
|
||||||
|
deploy-message: "Deployed from Gitea Action"
|
||||||
|
enable-commit-comment: false
|
||||||
|
enable-pull-request-comment: false
|
||||||
|
overwrites-pull-request-comment: true
|
||||||
|
enable-github-deployment: false
|
||||||
|
env:
|
||||||
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
|
timeout-minutes: 1
|
||||||
1
build/.dockerignore
Normal file
1
build/.dockerignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
fly.toml
|
||||||
3
build/Dockerfile
Normal file
3
build/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
FROM pierrezemb/gostatic
|
||||||
|
COPY . /srv/http/
|
||||||
|
CMD ["-port","8080","-https-promote", "-enable-logging"]
|
||||||
48
build/about.html
Normal file
48
build/about.html
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">About</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">undefined</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<p>I am interested in two things:</p>
|
||||||
|
<ul>
|
||||||
|
<li>How the world works</li>
|
||||||
|
<li>How we can make it better</li>
|
||||||
|
</ul>
|
||||||
|
<p>My mission is to develop a deep understanding of how our world works — economically, politically, historically — and write to make it common knowledge.</p>
|
||||||
|
<p>I write wanting to address the problems in the world that keep us trapped in cycles of suffering.</p>
|
||||||
|
<p>I want to write a better world.</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
BIN
build/favicon.ico
Normal file
BIN
build/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
22
build/fly.toml
Normal file
22
build/fly.toml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# fly.toml app configuration file generated for sashinexists-site on 2024-12-09T14:10:24+11:00
|
||||||
|
#
|
||||||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
|
#
|
||||||
|
|
||||||
|
app = 'sashinexists-site'
|
||||||
|
primary_region = 'syd'
|
||||||
|
|
||||||
|
[build]
|
||||||
|
|
||||||
|
[http_service]
|
||||||
|
internal_port = 8080
|
||||||
|
force_https = true
|
||||||
|
auto_stop_machines = 'stop'
|
||||||
|
auto_start_machines = true
|
||||||
|
min_machines_running = 0
|
||||||
|
processes = ['app']
|
||||||
|
|
||||||
|
[[vm]]
|
||||||
|
memory = '1gb'
|
||||||
|
cpu_kind = 'shared'
|
||||||
|
cpus = 1
|
||||||
32
build/index.html
Normal file
32
build/index.html
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
Welcome to the index page!
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
build/now.html
Normal file
44
build/now.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">Now</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">undefined</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<p>Now page will be here, along with a link to view previous now pages</p>
|
||||||
|
<ul>
|
||||||
|
<li>you should write up a new now page</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
188
build/styles/main.css
Normal file
188
build/styles/main.css
Normal file
@@ -0,0 +1,188 @@
|
|||||||
|
:root {
|
||||||
|
/* COLORS */
|
||||||
|
--rich-black: #030303;
|
||||||
|
/*for body background colour*/
|
||||||
|
--eerie-black: #171717;
|
||||||
|
/* for article background colour*/
|
||||||
|
--charleston-green: #2c2c2c;
|
||||||
|
/*for article background rollover*/
|
||||||
|
--dark-medium-gray: #aaa;
|
||||||
|
/* for main body text throughout website*/
|
||||||
|
--platinum: #e9e9e9;
|
||||||
|
/* for titles*/
|
||||||
|
--middle-green: #52aa5e;
|
||||||
|
/* for the main heading and links*/
|
||||||
|
--turquoise-green: #a0d0a7;
|
||||||
|
/* for links in their hover state*/
|
||||||
|
--amaranth: #ef2d56;
|
||||||
|
/* just for the support heart in its hoverstate */
|
||||||
|
|
||||||
|
/* THEME */
|
||||||
|
/* COLOURS */
|
||||||
|
--page-title-color: var(--middle-green);
|
||||||
|
--link-color: var(--middle-green);
|
||||||
|
--link-hover-color: var(--turquise-green) --body-background-color: var(--rich-black);
|
||||||
|
--article-background-color: var(--eerie-black);
|
||||||
|
--text-color: var(--dark-medium-gray);
|
||||||
|
--nav-link-color: var(--text-color);
|
||||||
|
--nav-link-color-hover: var(--platinum);
|
||||||
|
/* FONT SIZES */
|
||||||
|
--font-size: 1.7rem;
|
||||||
|
--page-title-font-size: 3.6rem;
|
||||||
|
--card-background-hover: var(--charleston-green);
|
||||||
|
/* PADDING */
|
||||||
|
--article-padding: 3rem;
|
||||||
|
/* OTHER */
|
||||||
|
--border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-size: 10px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #000;
|
||||||
|
color: var(--text-color);
|
||||||
|
font-family: "Ubuntu";
|
||||||
|
font-size: var(--font-size);
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
min-height: 100%;
|
||||||
|
padding: 2rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-title {
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: var(--page-title-font-size);
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-title a {
|
||||||
|
color: var(--page-title-color);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-title a:hover {
|
||||||
|
color: var(--link-hover-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row nowrap;
|
||||||
|
width: 100%;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-content {
|
||||||
|
padding: 2rem;
|
||||||
|
flex-grow: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-content h2 {
|
||||||
|
font-size: 2.4rem;
|
||||||
|
font-weight: 300;
|
||||||
|
margin-top: 3rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-footer {
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-navigation ul {
|
||||||
|
display: flex;
|
||||||
|
gap: 3rem;
|
||||||
|
list-style: none;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-navigation a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--nav-link-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-navigation a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--nav-link-color-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-cards {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
align-items: center;
|
||||||
|
gap: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-card {
|
||||||
|
background: var(--article-background-color);
|
||||||
|
padding: 3rem;
|
||||||
|
/*replace this with a variable */
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text-color);
|
||||||
|
font-size: 3rem;
|
||||||
|
font-weight: 300;
|
||||||
|
text-align: center;
|
||||||
|
width: 70rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-card:hover {
|
||||||
|
color: var(--link-color-hover);
|
||||||
|
background-color: var(--card-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.article {
|
||||||
|
background-color: var(--article-background-color);
|
||||||
|
padding: var(--article-padding);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
width: 90rem;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
gap: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-header {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row nowrap;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-title {
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 2.4rem;
|
||||||
|
color: var(--page-title-color);
|
||||||
|
}
|
||||||
46
build/subscribe.html
Normal file
46
build/subscribe.html
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">Subscribe</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">undefined</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<ul>
|
||||||
|
<li>to do:<ul>
|
||||||
|
<li>move your mailing list from digital ocean to a different platform</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
build/support.html
Normal file
44
build/support.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">Support</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">undefined</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<p>The support page will be here.</p>
|
||||||
|
<p>You will explain what you are trying to do, what you need, what you will do with the money.</p>
|
||||||
|
<p>You’ll create an open collective page and link it.</p>
|
||||||
|
<p>Maybe also use liberapay</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
18
build/templates/default.ori.html
Normal file
18
build/templates/default.ori.html
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
${ templates/partials/header.ori.html() }
|
||||||
|
<main class="page-content">
|
||||||
|
${ _ }
|
||||||
|
</main>
|
||||||
|
${ templates/partials/footer.ori.html() }
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
9
build/templates/partials/article.ori.html
Normal file
9
build/templates/partials/article.ori.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">${ _/title }</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">${ _/slug}</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
${ mdHtml(_/@text) }
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
3
build/templates/partials/footer.ori.html
Normal file
3
build/templates/partials/footer.ori.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: ${ new:Date() }</p>
|
||||||
|
</footer>
|
||||||
4
build/templates/partials/header.ori.html
Normal file
4
build/templates/partials/header.ori.html
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
${ templates/partials/navigation.ori.html }
|
||||||
|
</header>
|
||||||
9
build/templates/partials/navigation.ori.html
Normal file
9
build/templates/partials/navigation.ori.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
3
build/templates/partials/view-card.ori.html
Normal file
3
build/templates/partials/view-card.ori.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<a href="/views/${ _/slug}.html" class="view-card">
|
||||||
|
<span>${ _/title }</span>
|
||||||
|
</a>
|
||||||
3
build/templates/partials/view-cards.ori.html
Normal file
3
build/templates/partials/view-cards.ori.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<div class="view-cards">
|
||||||
|
${map(data/views, (view)=>templates/partials/view-card.ori.html(view))}
|
||||||
|
</div>
|
||||||
44
build/views/all-religions-are-wrong.html
Normal file
44
build/views/all-religions-are-wrong.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">All religions are wrong</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">all-religions-are-wrong</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<h2 id="why-i-hold-this-view">Why I hold this view</h2>
|
||||||
|
<p>insert reasons here for why I believe all religions are wrong</p>
|
||||||
|
<h2 id="why-it-matters">Why it matters</h2>
|
||||||
|
<p>insert reasons here for why I think it matters</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
build/views/index.html
Normal file
44
build/views/index.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<div class="view-cards">
|
||||||
|
<a href="/views/all-religions-are-wrong.html" class="view-card">
|
||||||
|
<span>All religions are wrong</span>
|
||||||
|
</a><a href="/views/there-is-no-god.html" class="view-card">
|
||||||
|
<span>There is no god</span>
|
||||||
|
</a><a href="/views/we-can-feed-everyone.html" class="view-card">
|
||||||
|
<span>We can feed everyone</span>
|
||||||
|
</a><a href="/views/we-do-not-need-hierarchies.html" class="view-card">
|
||||||
|
<span>We do not need hierarchies</span>
|
||||||
|
</a><a href="/views/we-should-not-eat-animals.html" class="view-card">
|
||||||
|
<span>We should not eat animals</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
build/views/there-is-no-god.html
Normal file
44
build/views/there-is-no-god.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">There is no god</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">there-is-no-god</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<h2 id="why-i-hold-this-view">Why I hold this view</h2>
|
||||||
|
<p>insert reasons here for why I believe there is no god</p>
|
||||||
|
<h2 id="why-it-matters">Why it matters</h2>
|
||||||
|
<p>insert reasons here for why I think it matters</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
build/views/we-can-feed-everyone.html
Normal file
44
build/views/we-can-feed-everyone.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">We can feed everyone</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">we-can-feed-everyone</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<h2 id="why-i-hold-this-view">Why I hold this view</h2>
|
||||||
|
<p>We can feed, house and clothe everyone 🏠
|
||||||
|
(going to argue that we have the material resources to do so, just lack the will)</p>
|
||||||
|
<h2 id="why-it-matters">Why it matters</h2>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
44
build/views/we-do-not-need-hierarchies.html
Normal file
44
build/views/we-do-not-need-hierarchies.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">We do not need hierarchies</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">we-do-not-need-hierarchies</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<h2 id="why-i-hold-this-view">Why I hold this view</h2>
|
||||||
|
<p>insert reasons here for why I believe hierarchy is bad</p>
|
||||||
|
<h2 id="why-it-matters">Why it matters</h2>
|
||||||
|
<p>insert reasons here for why I think it matters</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
47
build/views/we-should-not-eat-animals.html
Normal file
47
build/views/we-should-not-eat-animals.html
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="/styles/main.css" rel="stylesheet">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="site-header">
|
||||||
|
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
|
||||||
|
<nav class="site-navigation">
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">About</a></li>
|
||||||
|
<li><a href="/now.html">Now</a></li>
|
||||||
|
<li><a href="/views">Views</a></li>
|
||||||
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
|
<li><a href="/support.html">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
<main class="page-content">
|
||||||
|
<article class="article">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1 class="article-title">We should not eat animals</h1>
|
||||||
|
<!-- <div class="article-last-updated-date">we-should-not-eat-animals</div> -->
|
||||||
|
</header>
|
||||||
|
<section class="article-content">
|
||||||
|
<h2 id="why-i-hold-this-view">Why I hold this view</h2>
|
||||||
|
<ul>
|
||||||
|
<li>insert reasons here for why people should be vegan</li>
|
||||||
|
<li>thinking about whether I should say animal products instead</li>
|
||||||
|
</ul>
|
||||||
|
<h2 id="why-it-matters">Why it matters</h2>
|
||||||
|
<p>insert reasons for why this matters</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<p>Last updated: Mon Dec 09 2024 14:08:59 GMT+1100 (オーストラリア東部夏時間)</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
38
package-lock.json
generated
38
package-lock.json
generated
@@ -6,7 +6,7 @@
|
|||||||
"": {
|
"": {
|
||||||
"name": "sashinexists",
|
"name": "sashinexists",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@weborigami/origami": "0.2.1"
|
"@weborigami/origami": "0.2.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@emnapi/runtime": {
|
"node_modules/@emnapi/runtime": {
|
||||||
@@ -381,31 +381,31 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@weborigami/async-tree": {
|
"node_modules/@weborigami/async-tree": {
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@weborigami/async-tree/-/async-tree-0.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@weborigami/async-tree/-/async-tree-0.2.2.tgz",
|
||||||
"integrity": "sha512-RH+RCOkT6Oy8GtSKsGUs87izjUTetq8fJ64c7LrqsssEsgMi/ENMdnnO4kVHPW4mvqSMUQqoK0WUyP9hjSrhVQ==",
|
"integrity": "sha512-uOVohq9lKWhO+E6u0Z2HPxvpIJaY9eIk15EYL9alHM6gRETpTSZfVlOGjYYD4cQfYdHNhI1Xp+udhmsMH3slCg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@weborigami/types": "0.2.1"
|
"@weborigami/types": "0.2.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@weborigami/language": {
|
"node_modules/@weborigami/language": {
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@weborigami/language/-/language-0.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@weborigami/language/-/language-0.2.2.tgz",
|
||||||
"integrity": "sha512-syp5L5kHdt4dW4nkjTQa2VMBS94qn+DA524wWY0XpbpyC5h1YMA3s+eOQ29PhdiB9n2xjRhu+ZjxDuLhsv2YaQ==",
|
"integrity": "sha512-bZ2OLeU1b9756AbdA2FGG4S0fK4jtx2yvo+J+6EhZS3gB7Rcn/j4wV13J2lM7ASluE8/AaxNXXT4aMrWdT7sfw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@weborigami/async-tree": "0.2.1",
|
"@weborigami/async-tree": "0.2.2",
|
||||||
"@weborigami/types": "0.2.1",
|
"@weborigami/types": "0.2.2",
|
||||||
"watcher": "2.3.1"
|
"watcher": "2.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@weborigami/origami": {
|
"node_modules/@weborigami/origami": {
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@weborigami/origami/-/origami-0.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@weborigami/origami/-/origami-0.2.2.tgz",
|
||||||
"integrity": "sha512-nKJWvasGw469qnC1KOF2uayhjlWdOBXo/NRmp3Z64jDYiKYQ60o9uH0CY3b8wB33mRvu3YREoajFNlVcwvnyqQ==",
|
"integrity": "sha512-E65VzE2lDRCsrQcDuz0/T2yVqKpHbn4dgLsSb67vePC9jqDqRsKJZ5BkKsiJoVhsqB6Nyv3PDctfoJEQNVQoWg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@weborigami/async-tree": "0.2.1",
|
"@weborigami/async-tree": "0.2.2",
|
||||||
"@weborigami/language": "0.2.1",
|
"@weborigami/language": "0.2.2",
|
||||||
"@weborigami/types": "0.2.1",
|
"@weborigami/types": "0.2.2",
|
||||||
"exif-parser": "0.1.12",
|
"exif-parser": "0.1.12",
|
||||||
"graphviz-wasm": "3.0.2",
|
"graphviz-wasm": "3.0.2",
|
||||||
"highlight.js": "11.10.0",
|
"highlight.js": "11.10.0",
|
||||||
@@ -421,9 +421,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@weborigami/types": {
|
"node_modules/@weborigami/types": {
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@weborigami/types/-/types-0.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@weborigami/types/-/types-0.2.2.tgz",
|
||||||
"integrity": "sha512-+386SPOxoo1Whx3Ga+5XanXVhAz/IdwfFuFGSVhO39qj46FwG4ZEU6qqTRZpNW5tX3ABkO9DvAjqoCmapDxaXQ=="
|
"integrity": "sha512-nrrmhuNJM7EMnzN95ROH97r18KJ56YZGA5bsvPVAXoAyB0Mm0oFzyvy+eJH3LcZgRVb53i74nXZdgDqNoIeMyw=="
|
||||||
},
|
},
|
||||||
"node_modules/color": {
|
"node_modules/color": {
|
||||||
"version": "4.2.3",
|
"version": "4.2.3",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "sashinexists",
|
"name": "sashinexists",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@weborigami/origami": "0.2.1"
|
"@weborigami/origami": "0.2.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ori copy src/site.ori, clear files:build",
|
"build": "ori copy src/site.ori, clear files:build",
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
(page) =>
|
(page) =>
|
||||||
templates/default.ori.html(
|
templates/default.ori.html(
|
||||||
templates/partials/article.ori.html(
|
templates/partials/article.ori.html(
|
||||||
md.handler/unpack(
|
page/()
|
||||||
page/()
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
templates
|
templates
|
||||||
index.html = templates/default.ori.html("Welcome to the index page!")
|
index.html = templates/default.ori.html("Welcome to the index page!")
|
||||||
views = (views.ori/)
|
views = (views.ori/)
|
||||||
...map(map(data/pages, page.ori), {extension: '.ori.md->'})
|
...map(data/pages, { extension: '.ori.md->.html', value: page.ori })
|
||||||
favicon.ico
|
favicon.ico
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<nav class="site-navigation">
|
<nav class="site-navigation">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/about">About</a></li>
|
<li><a href="/about.html">About</a></li>
|
||||||
<li><a href="/now">Now</a></li>
|
<li><a href="/now.html">Now</a></li>
|
||||||
<li><a href="/views">Views</a></li>
|
<li><a href="/views">Views</a></li>
|
||||||
<li><a href="/subscribe">Subscribe</a></li>
|
<li><a href="/subscribe.html">Subscribe</a></li>
|
||||||
<li><a href="/support">Support</a></li>
|
<li><a href="/support.html">Support</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<a href="/views/${ _/slug}" class="view-card">
|
<a href="/views/${ _/slug}.html" class="view-card">
|
||||||
<span>${ _/title }</span>
|
<span>${ _/title }</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
index.html = templates/default.ori.html(templates/partials/view-cards.ori.html(data/views))
|
index.html = templates/default.ori.html(templates/partials/view-cards.ori.html(data/views))
|
||||||
...map(map(data/views, (view)=>templates/default.ori.html(templates/partials/article.ori.html(view))), {extension: '.md->'})
|
...map(map(data/views, (view)=>templates/default.ori.html(templates/partials/article.ori.html(view))), {extension: '.md->.html'})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user