Compare commits

..
42 changed files with 1112 additions and 1847 deletions

View file

@ -1,27 +0,0 @@
name: website
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Generate Chisai
run: python3 src/build.py --prod
#-
#name: Create cname file
# run: echo 'mydomain.com' > build/CNAME
-
name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: build
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
/__pycache__
/build
kantan.sh

61
01-01-2021.html Normal file
View file

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Happy new year! | Chīsai</title>
<meta property="og:title" content="Happy new year! | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Happy new year! | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Happy new year! | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Happy new year!">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/blog.html'>Blog</a></em>
</nav>
<date>01-01-2021</date>
<h1>Happy new year!</h1>
<p>Happy new year to all of you!</p>
</article>
</main>
</body>
</html>

62
02-01-2021.html Normal file
View file

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A lady laying down | Chīsai</title>
<meta property="og:title" content="A lady laying down | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="A lady laying down | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="A lady laying down | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="A lady laying down">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/art.html'>Art</a></em>
</nav>
<date>02-01-2021</date>
<h1>A lady laying down</h1>
<p>This art is by <a href="https://twitter.com/zeen_chin">Zeen Chin</a>.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/lady.jpeg" alt="Art by Zeen Chin"></p>
</article>
</main>
</body>
</html>

62
05-01-2021.html Normal file
View file

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A pensive blue man | Chīsai</title>
<meta property="og:title" content="A pensive blue man | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="A pensive blue man | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="A pensive blue man | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="A pensive blue man">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/art.html'>Art</a></em>
</nav>
<date>05-01-2021</date>
<h1>A pensive blue man</h1>
<p>This is from Watchen by Dave Gibbons.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/blue-man.png" alt="Blue man thinking by Dave Gibbons"></p>
</article>
</main>
</body>
</html>

62
08-01-2021.html Normal file
View file

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A strange looking city | Chīsai</title>
<meta property="og:title" content="A strange looking city | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="A strange looking city | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="A strange looking city | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="A strange looking city">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/art.html'>Art</a></em>
</nav>
<date>08-01-2021</date>
<h1>A strange looking city</h1>
<p>This city is by François Schuiten.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/city.jpeg" alt="Strange floating city by François Schuiten"></p>
</article>
</main>
</body>
</html>

62
12-01-2021.html Normal file
View file

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chihiro having dinner | Chīsai</title>
<meta property="og:title" content="Chihiro having dinner | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Chihiro having dinner | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Chihiro having dinner | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Chihiro having dinner">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/art.html'>Art</a></em>
</nav>
<date>12-01-2021</date>
<h1>Chihiro having dinner</h1>
<p>A still image from the movie Chihiro by Studio Ghibli.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/chihiro.jpg" alt="Chihiro having dinner"></p>
</article>
</main>
</body>
</html>

62
23-01-2021.html Normal file
View file

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kaguya dancing | Chīsai</title>
<meta property="og:title" content="Kaguya dancing | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Kaguya dancing | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Kaguya dancing | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Kaguya dancing">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/art.html'>Art</a></em>
</nav>
<date>23-01-2021</date>
<h1>Kaguya dancing</h1>
<p>A still image from the movie The Tale of Princess Kaguya.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/kaguya.jpg" alt="Kaguyra Dancing"></p>
</article>
</main>
</body>
</html>

61
23-05-2021.html Normal file
View file

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Date | Chīsai</title>
<meta property="og:title" content="Simple Date | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Simple Date | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Simple Date | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Simple Date">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/naming-demo.html'>Naming demo</a></em>
</nav>
<date>23-05-2021</date>
<h1>Simple Date</h1>
<p>This is a post with a single date. This date will be used both for listing and for the url.</p>
</article>
</main>
</body>
</html>

61
24-12-2021.html Normal file
View file

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Merry Christmas! | Chīsai</title>
<meta property="og:title" content="Merry Christmas! | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Merry Christmas! | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Merry Christmas! | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Merry Christmas!">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/blog.html'>Blog</a></em>
</nav>
<date>24-12-2021</date>
<h1>Merry Christmas!</h1>
<p>Merry Christmas to all of you! I had a lovely dinner and got super socks from my partner!</p>
</article>
</main>
</body>
</html>

21
LICENSE
View file

@ -1,21 +0,0 @@
ANTI-CAPITALIST SOFTWARE LICENSE (v 1.4)
Copyright © 2021 Thomasorus
This is anti-capitalist software, released for free use by individuals and organizations that do not operate by capitalist principles.
Permission is hereby granted, free of charge, to any person or organization (the "User") obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, modify, merge, distribute, and/or sell copies of the Software, subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in all copies or modified versions of the Software.
2. The User is one of the following:
a. An individual person, laboring for themselves
b. A non-profit organization
c. An educational institution
d. An organization that seeks shared profit for all of its members, and allows non-members to set the cost of their labor
3. If the User is an organization with owners, then all owners are workers and all workers are owners with equal equity and/or equal vote.
4. If the User is an organization, then the User is not law enforcement or military, or working for or under either.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -1,42 +0,0 @@
![Chisai logo](medias/chisai_square.png)
# Chīsai!
> A small website generator, editable and hosted on github, with automatic deployment!
## Purpose and mission
Chīsai is aimed at empowering people who need a free solution to have their own small space on the internet without falling into the CMS install and maintenance crazyness. All content is in markdown files, in folders, and the user can edit, upload images and host on github.
Chīsai answers three very important things for me when it comes to websites:
1. It should be easy to modify by someone else
2. It should be durable and long lasting
3. Each person should own the code of its website
## Who can use it?
Chīsai is a free to use by individuals and organizations that do not operate by capitalist principles. For more information see the [license](LICENSE) file.
## How does it work?
You can see a demo [here](https://thomasorus.github.io/Chisai/). It's quite simple:
- Each section is a folder with files named as the dates of their publication.
- Each section has it's parent section that regroups all the files inside.
- All sections 5 latest entries are regrouped on the home page with a link to see the full content.
- Content is edited using the Markdown syntax (the same you can find on Discord or Slack).
- Edit the content (create folders, files, edit files) directly on github, here!
That's all!
## How to use it?
See the [wiki](https://github.com/Thomasorus/Chisai/wiki) for extensive guides for everything!
## Can I self-host it?
Yes of course! Chisai only produces HTML. You can add the generated website on your own server. Even better: if your server has Python, you can rebuild the website direcly on your server. Be careful that you might have to reconfigure some things to make it work.

66
art.html Normal file
View file

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Art | Chīsai</title>
<meta property="og:title" content="Art | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Art | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Art | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Art">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/'>Home</a></em>
</nav>
<h1>Art</h1>
<p>In this section I list art pieces that I enjoy. Creating pages in this art section is very simple: just add a new file and the generator will create them instantly!</p>
<ul class='listing'><li><h3><a href='23-01-2021.html'>Kaguya dancing</a></h3><small>23-01-2021</small></li>
<li><h3><a href='12-01-2021.html'>Chihiro having dinner</a></h3><small>12-01-2021</small></li>
<li><h3><a href='08-01-2021.html'>A strange looking city</a></h3><small>08-01-2021</small></li>
<li><h3><a href='05-01-2021.html'>A pensive blue man</a></h3><small>05-01-2021</small></li>
<li><h3><a href='02-01-2021.html'>A lady laying down</a></h3><small>02-01-2021</small></li>
</ul>
</article>
</main>
</body>
</html>

View file

@ -1,5 +0,0 @@
# A lady laying down
This art is by [Zeen Chin](https://twitter.com/zeen_chin).
![Art by Zeen Chin](lady.jpeg)

View file

@ -1,5 +0,0 @@
# A pensive blue man
This is from Watchen by Dave Gibbons.
![Blue man thinking by Dave Gibbons](blue-man.png)

View file

@ -1,5 +0,0 @@
# A strange looking city
This city is by François Schuiten.
![Strange floating city by François Schuiten](city.jpeg)

View file

@ -1,5 +0,0 @@
# Chihiro having dinner
A still image from the movie Chihiro by Studio Ghibli.
![Chihiro having dinner](chihiro.jpg)

View file

@ -1,5 +0,0 @@
# Kaguya dancing
A still image from the movie The Tale of Princess Kaguya.
![Kaguyra Dancing](kaguya.jpg)

View file

@ -1,3 +0,0 @@
# Art
In this section I list art pieces that I enjoy. Creating pages in this art section is very simple: just add a new file and the generator will create them instantly!

63
blog.html Normal file
View file

@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog | Chīsai</title>
<meta property="og:title" content="Blog | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Blog | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Blog | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Blog">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/'>Home</a></em>
</nav>
<h1>Blog</h1>
<p>I post my artist progress here!</p>
<ul class='listing'><li><h3><a href='24-12-2021.html'>Merry Christmas!</a></h3><small>24-12-2021</small></li>
<li><h3><a href='01-01-2021.html'>Happy new year!</a></h3><small>01-01-2021</small></li>
</ul>
</article>
</main>
</body>
</html>

View file

@ -1,3 +0,0 @@
# Happy new year!
Happy new year to all of you!

View file

@ -1,3 +0,0 @@
# Merry Christmas!
Merry Christmas to all of you! I had a lovely dinner and got super socks from my partner!

View file

@ -1,3 +0,0 @@
# Blog
I post my artist progress here!

172
feed.xml Normal file
View file

@ -0,0 +1,172 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="https://thomasorus.github.io/Chisai/feed.xml" rel="self" type="application/rss+xml" />
<title>Chīsai | Chīsai, a small and ready to use micro-site generator.</title>
<link>https://thomasorus.github.io/Chisai/</link>
<description>Chīsai — Chīsai, a small and ready to use micro-site generator.</description>
<lastBuildDate>2023-02-13</lastBuildDate>
<image>
<url>https://thomasorus.github.io/Chisai/assets/rss.png</url>
<title>Chīsai — Chīsai, a small and ready to use micro-site generator.</title>
<link>https://thomasorus.github.io/Chisai/</link>
</image>
<item>
<title>Art</title>
<link>https://thomasorus.github.io/Chisai/art.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/art.html</guid>
<pubDate>2023-02-14 00:31:52</pubDate>
<description>
<![CDATA[<h1>Art</h1>
<p>In this section I list art pieces that I enjoy. Creating pages in this art section is very simple: just add a new file and the generator will create them instantly!</p>
<ul class='listing'><li><h3><a href='23-01-2021.html'>Kaguya dancing</a></h3><small>23-01-2021</small></li>
<li><h3><a href='12-01-2021.html'>Chihiro having dinner</a></h3><small>12-01-2021</small></li>
<li><h3><a href='08-01-2021.html'>A strange looking city</a></h3><small>08-01-2021</small></li>
<li><h3><a href='05-01-2021.html'>A pensive blue man</a></h3><small>05-01-2021</small></li>
<li><h3><a href='02-01-2021.html'>A lady laying down</a></h3><small>02-01-2021</small></li>
</ul>]]>
</description>
</item><item>
<title>Blog</title>
<link>https://thomasorus.github.io/Chisai/blog.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/blog.html</guid>
<pubDate>2023-02-14 00:31:52</pubDate>
<description>
<![CDATA[<h1>Blog</h1>
<p>I post my artist progress here!</p>
<ul class='listing'><li><h3><a href='24-12-2021.html'>Merry Christmas!</a></h3><small>24-12-2021</small></li>
<li><h3><a href='01-01-2021.html'>Happy new year!</a></h3><small>01-01-2021</small></li>
</ul>]]>
</description>
</item><item>
<title>How to name files</title>
<link>https://thomasorus.github.io/Chisai/naming-demo.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/naming-demo.html</guid>
<pubDate>2023-02-14 00:31:52</pubDate>
<description>
<![CDATA[<h1>How to name files</h1>
<p>This page lists the different ways of naming files.</p>
<ul class='listing'><li><h3><a href='no-date.html'>No date</a></h3><small>14-02-2023 00:31:52</small></li>
<li><h3><a href='no-date-test.html'>This is a no date test to see how things are working.</a></h3><small>14-02-2023 00:31:52</small></li>
<li><h3><a href='23-05-2021.html'>Simple Date</a></h3><small>23-05-2021</small></li>
<li><h3><a href='02-01-2021-name-of-file.html'>Date and name</a></h3><small>02-01-2021</small></li>
</ul>]]>
</description>
</item><item>
<title>No date</title>
<link>https://thomasorus.github.io/Chisai/no-date.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/no-date.html</guid>
<pubDate>2023-02-14 00:31:52</pubDate>
<description>
<![CDATA[<h1>No date</h1>
<p>This file has no date. It means it won't be listed using a choosen date but using the last time the file was edited.</p>
]]>
</description>
</item><item>
<title>This is a no date test to see how things are working.</title>
<link>https://thomasorus.github.io/Chisai/no-date-test.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/no-date-test.html</guid>
<pubDate>2023-02-14 00:31:52</pubDate>
<description>
<![CDATA[<h1>This is a no date test to see how things are working.</h1>
<p>This file has no date. It means it won't be listed using a choosen date but using the last time the file was edited.</p>
<p>This is a new test.</p>
]]>
</description>
</item><item>
<title>Merry Christmas!</title>
<link>https://thomasorus.github.io/Chisai/24-12-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/24-12-2021.html</guid>
<pubDate>2021-12-24 00:00:00</pubDate>
<description>
<![CDATA[<h1>Merry Christmas!</h1>
<p>Merry Christmas to all of you! I had a lovely dinner and got super socks from my partner!</p>
]]>
</description>
</item><item>
<title>Simple Date</title>
<link>https://thomasorus.github.io/Chisai/23-05-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/23-05-2021.html</guid>
<pubDate>2021-05-23 00:00:00</pubDate>
<description>
<![CDATA[<h1>Simple Date</h1>
<p>This is a post with a single date. This date will be used both for listing and for the url.</p>
]]>
</description>
</item><item>
<title>Kaguya dancing</title>
<link>https://thomasorus.github.io/Chisai/23-01-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/23-01-2021.html</guid>
<pubDate>2021-01-23 00:00:00</pubDate>
<description>
<![CDATA[<h1>Kaguya dancing</h1>
<p>A still image from the movie The Tale of Princess Kaguya.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/kaguya.jpg" alt="Kaguyra Dancing"></p>
]]>
</description>
</item><item>
<title>Chihiro having dinner</title>
<link>https://thomasorus.github.io/Chisai/12-01-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/12-01-2021.html</guid>
<pubDate>2021-01-12 00:00:00</pubDate>
<description>
<![CDATA[<h1>Chihiro having dinner</h1>
<p>A still image from the movie Chihiro by Studio Ghibli.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/chihiro.jpg" alt="Chihiro having dinner"></p>
]]>
</description>
</item><item>
<title>A strange looking city</title>
<link>https://thomasorus.github.io/Chisai/08-01-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/08-01-2021.html</guid>
<pubDate>2021-01-08 00:00:00</pubDate>
<description>
<![CDATA[<h1>A strange looking city</h1>
<p>This city is by François Schuiten.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/city.jpeg" alt="Strange floating city by François Schuiten"></p>
]]>
</description>
</item><item>
<title>A pensive blue man</title>
<link>https://thomasorus.github.io/Chisai/05-01-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/05-01-2021.html</guid>
<pubDate>2021-01-05 00:00:00</pubDate>
<description>
<![CDATA[<h1>A pensive blue man</h1>
<p>This is from Watchen by Dave Gibbons.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/blue-man.png" alt="Blue man thinking by Dave Gibbons"></p>
]]>
</description>
</item><item>
<title>A lady laying down</title>
<link>https://thomasorus.github.io/Chisai/02-01-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/02-01-2021.html</guid>
<pubDate>2021-01-02 00:00:00</pubDate>
<description>
<![CDATA[<h1>A lady laying down</h1>
<p>This art is by <a href="https://twitter.com/zeen_chin">Zeen Chin</a>.</p>
<p><img src="https://thomasorus.github.io/Chisai/medias/lady.jpeg" alt="Art by Zeen Chin"></p>
]]>
</description>
</item><item>
<title>Date and name</title>
<link>https://thomasorus.github.io/Chisai/name-of-file.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/name-of-file.html</guid>
<pubDate>2021-01-02 00:00:00</pubDate>
<description>
<![CDATA[<h1>Date and name</h1>
<p>This file has both a date and a name. It means it will use the indicated date for listings, and the rest of the name for the url.</p>
]]>
</description>
</item><item>
<title>Happy new year!</title>
<link>https://thomasorus.github.io/Chisai/01-01-2021.html</link>
<guid isPermaLink="false">https://thomasorus.github.io/Chisai/01-01-2021.html</guid>
<pubDate>2021-01-01 00:00:00</pubDate>
<description>
<![CDATA[<h1>Happy new year!</h1>
<p>Happy new year to all of you!</p>
]]>
</description>
</item>
</channel>
</rss>

View file

@ -1,5 +0,0 @@
# Hello!
![Chisai logo](medias/chisai_square.png)
This is the home page of Chīsai, a small static site generator.

69
index.html Normal file
View file

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | Chīsai</title>
<meta property="og:title" content="Home | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Home | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Home | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Home">Chīsai</a>
</header>
<main>
<article class="flow">
<h1>Hello!</h1>
<p><img src="medias/chisai_square.png" alt="Chisai logo"></p>
<p>This is the home page of Chīsai, a small static site generator.</p>
<h2>Art</h2><ul class='listing'><li><h3><a href='23-01-2021.html'>Kaguya dancing</a></h3><small>23-01-2021</small></li>
<li><h3><a href='12-01-2021.html'>Chihiro having dinner</a></h3><small>12-01-2021</small></li>
<li><h3><a href='08-01-2021.html'>A strange looking city</a></h3><small>08-01-2021</small></li>
<li><h3><a href='05-01-2021.html'>A pensive blue man</a></h3><small>05-01-2021</small></li>
</ul><small><a href='https://thomasorus.github.io/Chisai/art.html'>See more</a></small><h2>Blog</h2><ul class='listing'><li><h3><a href='24-12-2021.html'>Merry Christmas!</a></h3><small>24-12-2021</small></li>
<li><h3><a href='01-01-2021.html'>Happy new year!</a></h3><small>01-01-2021</small></li>
</ul><small><a href='https://thomasorus.github.io/Chisai/blog.html'>See more</a></small><h2>Naming-demo</h2><ul class='listing'><li><h3><a href='no-date.html'>No date</a></h3><small>14-02-2023 00:31:52</small></li>
<li><h3><a href='no-date-test.html'>This is a no date test to see how things are working.</a></h3><small>14-02-2023 00:31:52</small></li>
<li><h3><a href='23-05-2021.html'>Simple Date</a></h3><small>23-05-2021</small></li>
<li><h3><a href='name-of-file.html'>Date and name</a></h3><small>02-01-2021</small></li>
</ul><small><a href='https://thomasorus.github.io/Chisai/naming-demo.html'>See more</a></small>
</article>
</main>
</body>
</html>

61
name-of-file.html Normal file
View file

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Date and name | Chīsai</title>
<meta property="og:title" content="Date and name | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="Date and name | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="Date and name | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="Date and name">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/naming-demo.html'>Naming demo</a></em>
</nav>
<date>02-01-2021</date>
<h1>Date and name</h1>
<p>This file has both a date and a name. It means it will use the indicated date for listings, and the rest of the name for the url.</p>
</article>
</main>
</body>
</html>

65
naming-demo.html Normal file
View file

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>How to name files | Chīsai</title>
<meta property="og:title" content="How to name files | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="How to name files | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="How to name files | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="How to name files">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/'>Home</a></em>
</nav>
<h1>How to name files</h1>
<p>This page lists the different ways of naming files.</p>
<ul class='listing'><li><h3><a href='no-date.html'>No date</a></h3><small>14-02-2023 00:31:52</small></li>
<li><h3><a href='no-date-test.html'>This is a no date test to see how things are working.</a></h3><small>14-02-2023 00:31:52</small></li>
<li><h3><a href='23-05-2021.html'>Simple Date</a></h3><small>23-05-2021</small></li>
<li><h3><a href='02-01-2021-name-of-file.html'>Date and name</a></h3><small>02-01-2021</small></li>
</ul>
</article>
</main>
</body>
</html>

View file

@ -1,3 +0,0 @@
# Date and name
This file has both a date and a name. It means it will use the indicated date for listings, and the rest of the name for the url.

View file

@ -1,3 +0,0 @@
# Simple Date
This is a post with a single date. This date will be used both for listing and for the url.

View file

@ -1,3 +0,0 @@
# How to name files
This page lists the different ways of naming files.

View file

@ -1,5 +0,0 @@
# This is a no date test to see how things are working.
This file has no date. It means it won't be listed using a choosen date but using the last time the file was edited.
This is a new test.

View file

@ -1,3 +0,0 @@
# No date
This file has no date. It means it won't be listed using a choosen date but using the last time the file was edited.

62
no-date-test.html Normal file
View file

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>This is a no date test to see how things are working. | Chīsai</title>
<meta property="og:title" content="This is a no date test to see how things are working. | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="This is a no date test to see how things are working. | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="This is a no date test to see how things are working. | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="This is a no date test to see how things are working.">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/naming-demo.html'>Naming demo</a></em>
</nav>
<date>14-02-2023 00:31:52</date>
<h1>This is a no date test to see how things are working.</h1>
<p>This file has no date. It means it won't be listed using a choosen date but using the last time the file was edited.</p>
<p>This is a new test.</p>
</article>
</main>
</body>
</html>

61
no-date.html Normal file
View file

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>No date | Chīsai</title>
<meta property="og:title" content="No date | Chīsai">
<meta property="og:type" content="website">
<meta property="og:description"
content="Chīsai, a small and ready to use micro-site generator.">
<meta property="og:site_name" content="Chīsai">
<meta property="og:url" content="https://thomasorus.github.io/Chisai/">
<meta property="og:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@thomasorus">
<meta name="twitter:title" content="No date | Chīsai">
<meta name="twitter:image" content="https://thomasorus.github.io/Chisai/assets/social.png">
<meta name="twitter:image:alt" content="No date | Chīsai">
<link rel="apple-touch-icon" sizes="57x57" href="https://thomasorus.github.io/Chisai/assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://thomasorus.github.io/Chisai/assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://thomasorus.github.io/Chisai/assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://thomasorus.github.io/Chisai/assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://thomasorus.github.io/Chisai/assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://thomasorus.github.io/Chisai/assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://thomasorus.github.io/Chisai/assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://thomasorus.github.io/Chisai/assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://thomasorus.github.io/Chisai/assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://thomasorus.github.io/Chisai/assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://thomasorus.github.io/Chisai/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://thomasorus.github.io/Chisai/assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://thomasorus.github.io/Chisai/assets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="https://thomasorus.github.io/Chisai/assets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="https://thomasorus.github.io/Chisai/">
<link rel="stylesheet" href="https://thomasorus.github.io/Chisai/assets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="No date">Chīsai</a>
</header>
<main>
<article class="flow">
<nav>
<em>Go back to <a href='https://thomasorus.github.io/Chisai/naming-demo.html'>Naming demo</a></em>
</nav>
<date>14-02-2023 00:31:52</date>
<h1>No date</h1>
<p>This file has no date. It means it won't be listed using a choosen date but using the last time the file was edited.</p>
</article>
</main>
</body>
</html>

View file

@ -1,9 +0,0 @@
<item>
<title>rssItemTitle</title>
<link>rssItemUrl</link>
<guid isPermaLink="false">rssItemUrl</guid>
<pubDate>rssItemDate</pubDate>
<description>
<![CDATA[rssItemContent]]>
</description>
</item>

View file

@ -1,56 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>page_title | name_of_site</title>
<meta property="og:title" content="page_title | name_of_site">
<meta property="og:type" content="website">
<meta property="og:description"
content="site_meta_description">
<meta property="og:site_name" content="name_of_site">
<meta property="og:url" content="build_url">
<meta property="og:image" content="build_urlassets/social.png">
<meta property="og:image:height" content="300">
<meta property="og:image:width" content="300">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="twitter_name">
<meta name="twitter:title" content="page_title | name_of_site">
<meta name="twitter:image" content="build_urlassets/social.png">
<meta name="twitter:image:alt" content="page_title | name_of_site">
<link rel="apple-touch-icon" sizes="57x57" href="build_urlassets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="build_urlassets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="build_urlassets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="build_urlassets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="build_urlassets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="build_urlassets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="build_urlassets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="build_urlassets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="build_urlassets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="build_urlassets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="build_urlassets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="build_urlassets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="build_urlassets/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#5927e0">
<meta name="msapplication-TileImage" content="build_urlassets/ms-icon-144x144.png">
<meta name="theme-color" content="#5927e0">
<link rel="canonical" href="build_url">
<link rel="stylesheet" href="build_urlassets/main.css">
</head>
<body class="flow-large container">
<header>
<a href="/" aria-label="page_title">name_of_site</a>
</header>
<main>
<article class="flow">
page_navigation
page_date
page_body
</article>
</main>
</body>
</html>

View file

@ -1,3 +0,0 @@
<nav>
<em>go_back <a href='link_url'>text_url</a></em>
</nav>

View file

@ -1,15 +0,0 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="build_urlfeed.xml" rel="self" type="application/rss+xml" />
<title>name_of_site | site_meta_description</title>
<link>build_url</link>
<description>name_of_site — site_meta_description</description>
<lastBuildDate>date_build</lastBuildDate>
<image>
<url>build_urlassets/rss.png</url>
<title>name_of_site — site_meta_description</title>
<link>build_url</link>
</image>
rss_content
</channel>
</rss>

View file

@ -1,440 +0,0 @@
import argparse
import glob
import os
import platform
import re
import shutil
import subprocess
import sys
from datetime import datetime
import pathlib
# Default encoding
encoding = 'utf-8'
# Import local files
mistune = __import__('mistune')
config = __import__('config')
# Activating the renderer
renderer = mistune.Renderer()
markdown = mistune.Markdown(renderer=renderer)
# Checking for dev command
parser = argparse.ArgumentParser()
parser.add_argument(
"-p", "--prod", help="Prints the supplied argument.", action="store_true")
args = parser.parse_args()
# Declaring build url that will be used in several parts of the app
build_url = config.relative_build_url
if args.prod:
build_url = config.absolute_build_url
# Generates html files in the site folder, using the entries and the template.
def generate_html_pages(site_folder, entries, template, sub_pages_list, template_nav):
for entry in entries:
page_template = template.replace('page_title', entry['title'])
# Checking if the page is root of a folder
if entry["file"] == "index":
# If root page
# Concatenate the content of the index page with the listing of sub-pages
# Remove "page_date" from template
# Replaces "page_body" with the page content in the template
entry["pageContent"] += sub_pages_list
page_template = page_template.replace('page_date', "")
page_template = page_template.replace(
'page_body', entry['pageContent'])
else:
# If content page
# Replaces "page_body" with the page content in the template
# Replaces "page_date" with the page date in the template
page_template = page_template.replace(
'page_body', entry['pageContent'])
page_template = page_template.replace(
'page_date', "<date>%s</date>" % (entry['date']))
# Creating navigation
url_link = build_url
url_text = entry['parent_text']
if not entry["parent_url"]:
# If index page, return to the home
url_link = build_url
else:
# If content page, return to parent page
url_link = build_url + entry['parent_url']
nav_template = open(template_nav, 'r').read()
nav_html = nav_template.replace("link_url", url_link)
nav_html = nav_html.replace("text_url", url_text)
nav_html = nav_html.replace("go_back", config.go_back)
page_template = page_template.replace('page_navigation', nav_html)
# Replaces all occurrences of build_url in the template files (assets, urls, etc)
page_template = page_template.replace('build_url', build_url)
page_template = page_template.replace(
'name_of_site', config.name_of_site)
page_template = page_template.replace(
'site_meta_description', config.site_meta_description)
page_template = page_template.replace(
'twitter_name', config.twitter_name)
# Checking if content folder exists
folderExists = os.path.exists(site_folder+entry['folder'])
# If not, create it
if config.flat_build == False:
if not folderExists:
os.mkdir(site_folder+entry['folder'])
# Write the HTML file
slug_file = site_folder + entry['slug']
with open(slug_file, 'w', encoding=encoding) as fobj:
fobj.write(page_template)
print("All pages created!")
# Get title by parsing and cleaning the first line of the markdown file
def get_entry_title(page):
pageContent = open(page, 'r')
textContent = pageContent.read()
textContent = textContent.splitlines()
textContent = textContent[0]
textContent = textContent.replace('# ', '')
return textContent
# Get the slug from the markdown file name
def get_entry_slug(page):
slug = page.split("/")[-1]
slug = re.sub('\.md$', '', slug)
if slug:
return slug
else:
return ''
def style_iframes(page):
regex = r"<iframe.+?[\"'].+?><\/iframe>"
matches = re.finditer(regex, page, re.MULTILINE)
for matchNum, match in enumerate(matches, start=1):
match = match.group()
iframe = "<figure class='youtube'>%s</figure>" % match
page = page.replace(match, iframe)
return page
# Checks for local images links in markdown and add the build_url and medias_folder url
def fix_images_urls(page):
regex = r"\!\[.*\]\((.*)\)"
matches = re.finditer(regex, page, re.MULTILINE)
for matchNum, match in enumerate(matches, start=1):
for groupNum in range(0, len(match.groups())):
captured_group = match.group(groupNum + 1)
if captured_group[:4] != "http":
full_url = build_url + config.medias_folder + captured_group
page = page.replace(captured_group, full_url)
return page
def fix_amp(page):
page = page.replace(" & ", " &amp; ")
return page
def fix_wiki_links(page, path):
regex = r"\[\[([\s\S]+?\|?[\s\S]+?)\]\]"
matches = re.finditer(regex, page, re.MULTILINE)
for matchNum, match in enumerate(matches, start=1):
for groupNum in range(0, len(match.groups())):
captured_group = match.group(groupNum + 1)
link_elem = captured_group.split("|")
if len(link_elem) > 1:
full_url = "<a href='" + build_url + link_elem[1].strip() + ".html' >" + link_elem[0].strip() + "</a>"
else:
if config.flat_build:
full_url = "<a href='" + build_url + link_elem[0].strip() + ".html' >" + link_elem[0].strip() + "</a>"
else:
full_url = "<a href='" + build_url + path + "/" + link_elem[0].strip() + ".html' >" + link_elem[0].strip() + "</a>"
page = page.replace(match[0], full_url)
return page
# From the list of files, creates the main array of entries that will be processed later
def create_entries(pages):
fullContent = []
for page in pages:
tempPage = {}
# Process the page with dedicated functions
path = clean_path(page)
title = get_entry_title(page)
markdown_text = open(page, 'r').read()
markdown_text = style_iframes(markdown_text)
markdown_text = fix_images_urls(markdown_text)
markdown_text = fix_wiki_links(markdown_text, path["folder"])
pageContent = markdown(markdown_text)
# Create the page object with all the informations we need
tempPage['slug'] = path["slug"]
tempPage['file'] = path['file']
tempPage['folder'] = path["folder"]
tempPage['parent_url'] = path['parent_url']
tempPage['parent_text'] = path['parent_text']
tempPage['date'] = path['date']
tempPage['iso_date'] = path['iso_date']
tempPage['title'] = fix_amp(title)
tempPage['pageContent'] = pageContent
fullContent.append(tempPage)
return fullContent
# Copy assets to production folder
def move_files(site_folder, path):
assets = os.listdir(path)
if assets:
for asset in assets:
asset = os.path.join(path, asset)
if os.path.isfile(asset):
shutil.copy(asset, site_folder+path)
else:
print("No assets found!")
# Transforms the file locations to an array of strings
def clean_path(path):
path_clean = re.sub('\.md$', '', path)
items = []
if(platform.system() == 'Windows'):
items = path_clean.split('\\')
else:
items = path_clean.split('/')
path_items = {
"slug" : None,
"date" : None,
"folder": items[0],
"file": items[1]
}
# xx-xx-xxxx = xx-xx-xxxx.html
# xx-xx-xxxx-string or string = string.html or /folder/string.html
# Checking if the file has a date
regex = r"(?:[0-9]{2}-){2}[0-9]{4}"
match = re.match(regex, path_items["file"])
has_date = False
if match:
has_date = True
if has_date:
if match[0] != path_items["file"]:
path_items["date"] = match[0]
path_items["slug"] = path_items["file"].replace(match[0] + "-", "") + ".html"
else:
path_items["date"] = match[0]
path_items["slug"] = path_items["file"] + ".html"
# Converts the EU date to US date to allow page sorting
if config.date_format == "EU":
path_items["iso_date"] = str(datetime.strptime(path_items["date"], '%d-%m-%Y'))
if config.date_format == "ISO":
path_items["iso_date"] = str(datetime.strptime(path_items["date"], '%Y-%m-%d'))
else:
path_items["slug"] = path_items["file"] + ".html"
last_edit = str(subprocess.check_output('git log -1 --format="%ci" ' + path, shell=True)).replace("b'", "").replace("\\n'", '')
last_edit_iso = datetime.strptime(last_edit[:-6], "%Y-%m-%d %H:%M:%S")
if config.date_format == "EU":
path_items["date"] = str(last_edit_iso.strftime("%d-%m-%Y %H:%M:%S"))
print(path_items["date"])
else:
path_items["date"] = str(last_edit_iso)
path_items["iso_date"] = str(last_edit_iso)
if config.flat_build == False:
path_items["slug"] = path_items["folder"] + "/" + path_items["slug"]
if path_items["file"] == "index":
path_items["parent_url"] = ""
path_items["parent_text"] = config.home_name
if config.flat_build:
path_items["slug"] = path_items["folder"] + ".html"
else:
if config.flat_build:
path_items["parent_url"] = path_items["folder"] + ".html"
path_items["parent_text"] = path_items["folder"].replace("-", " ").capitalize()
else:
path_items["parent_url"] = path_items["folder"]
path_items["parent_text"] = path_items["folder"].replace("-", " ").capitalize()
return path_items
# Generate the list of sub pages for each section
def generate_sub_pages(entries, num, folder, title):
# Sort entries by date using the iso_date format
entries.sort(key=lambda x: x["iso_date"], reverse=True)
# Take n number of entries (5 for the home, all for the sub-section pages)
selected_entries = entries[:num]
# Create the list
sub_page_list = "<ul class='listing'>"
for entry in selected_entries:
if title:
link_url = entry["slug"]
else:
link_url = entry["file"] + ".html"
if entry["file"] != "index":
entry_string = "<li><h3><a href='" + link_url + \
"'>" + entry["title"] + "</a></h3><small>" + \
entry["date"] + "</small></li>\n"
sub_page_list += entry_string
sub_page_list += "</ul>"
# If a title is necessary, use the folder name
if title:
title = "<h2>%s</h2>" % folder.capitalize()
sub_page_list = title + sub_page_list
if config.flat_build:
sub_page_link = build_url + folder + ".html"
else:
sub_page_link = build_url + folder
sub_page_link_html = "<small><a href='%s'>" % sub_page_link + config.see_all + "</a></small>"
sub_page_list += sub_page_link_html
return sub_page_list
# Creates the home page using home.md
def create_home_page(template, site_folder):
# Read the file and add "content_list" as a future replacement point for sub page listing
html = markdown(open("home.md", "r").read()) + "content_list"
# Replace template strings with content
template = template.replace('page_title', config.home_name)
template = template.replace('page_body', html)
template = template.replace('build_url', build_url)
template = template.replace('page_navigation', "")
return template
# Create RSS Feed
def create_rss_feed(rss_entries, rss_template, rss_item_template, site_folder):
template = open(rss_template, 'r').read()
itemTemplate = open(rss_item_template, 'r').read()
rss_entries.sort(key=lambda x: x["iso_date"], reverse=True)
rss_items = ""
for rss_entry in rss_entries:
entry_template = itemTemplate
entry_template = entry_template.replace(
'rssItemTitle', rss_entry["title"])
entry_template = entry_template.replace('rssItemUrl', build_url +
rss_entry["slug"])
entry_template = entry_template.replace(
'rssItemDate', rss_entry["iso_date"])
entry_template = entry_template.replace(
'rssItemContent', rss_entry["pageContent"])
rss_items += entry_template
template = template.replace('name_of_site', config.name_of_site)
template = template.replace('site_meta_description',
config.site_meta_description)
template = template.replace('build_url', build_url)
template = template.replace('date_build', str(
datetime.now().date()))
template = template.replace('rss_content', rss_items)
slug_file = site_folder + "feed.xml"
with open(slug_file, 'w', encoding=encoding) as fobj:
fobj.write(template)
return
def generate_website():
print('Welcome to the builder!')
# If build folder exists delete it
if os.path.exists(config.build_folder):
shutil.rmtree(config.build_folder)
# Make new folders
os.makedirs(config.build_folder + config.assets_folder)
os.makedirs(config.build_folder + config.medias_folder)
# Get main html template
template = open(config.template_file, 'r').read()
# Create home page
home_page = create_home_page(template, config.build_folder)
rss_entries = []
for folder in config.content_folder:
pages = glob.glob(folder + '**/*.md', recursive=True)
entries = create_entries(pages)
sub_pages_list = generate_sub_pages(
entries, len(entries), folder, False)
# For each section, create a short listing of sub pages and add it to the home page
home_pageSubList = generate_sub_pages(entries, 5, folder, True)
home_page = home_page.replace('content_list', home_pageSubList +
"content_list")
home_page = home_page.replace('page_date', "")
generate_html_pages(config.build_folder, entries, template,
sub_pages_list, config.template_nav)
for entry in entries:
rss_entries.append(entry)
# Move the assets
move_files(config.build_folder, config.assets_folder)
move_files(config.build_folder, config.medias_folder)
# Once all sections have been processed, finish the home page
# Removes the "content_list" in the partial
home_page = home_page.replace('content_list', "")
home_page = home_page.replace('name_of_site', config.name_of_site)
home_page = home_page.replace('site_meta_description',
config.site_meta_description)
home_page = home_page.replace(
'twitter_name', config.twitter_name)
slug_file = config.build_folder + "index.html"
with open(slug_file, 'w', encoding=encoding) as fobj:
fobj.write(home_page)
# Create RSS File
create_rss_feed(rss_entries, config.rss_template,
config.rss_item_template, config.build_folder)
# Triggers the website build
generate_website()

View file

@ -1,18 +0,0 @@
content_folder = ['art', 'blog', 'naming-demo']
relative_build_url = "/"
absolute_build_url = "https://thomasorus.github.io/Chisai/"
build_folder = "build/"
assets_folder = "assets/"
medias_folder = "medias/"
template_file = "partials/main.html"
template_nav = "partials/nav.html"
rss_template = "partials/rss.xml"
rss_item_template = "partials/item.xml"
name_of_site = "Chīsai"
site_meta_description = "Chīsai, a small and ready to use micro-site generator."
twitter_name = "@thomasorus"
home_name = "Home"
see_all = "See more"
go_back = "Go back to"
date_format = "EU" # Choose between EU day-month-year or ISO year-mont-day
flat_build = True # True or False, if True, all files will be written in the root of the website

File diff suppressed because it is too large Load diff