Compare commits

...

No commits in common. "main" and "pages" have entirely different histories.

61 changed files with 3726 additions and 1081 deletions

1
.envrc
View file

@ -1 +0,0 @@
use flake

View file

@ -1,64 +0,0 @@
name: Deploy Zola site to Pages
env:
ZOLA_VERSION: 0.21.0
on:
# Runs on pushes targeting the default branch
push:
branches:
# If you want to build from a different branch, change it here.
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
# You can find the list of available runners on https://codeberg.org/actions/meta, or run one yourself.
runs-on: docker
container:
image: "alpine:edge"
steps:
- name: Install CI prerequisites
run: |
apk upgrade -Ua
apk add nodejs git 'zola=~${{ env.ZOLA_VERSION }}'
- name: Clone the repository
uses: https://code.forgejo.org/actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0
- name: Generate static files with Zola
run: |
zola build
- name: Upload generated files
uses: https://code.forgejo.org/actions/upload-artifact@v3
with:
name: Generated files
path: public/
deploy:
needs: [build]
runs-on: docker
steps:
- name: Clone the repository
uses: https://code.forgejo.org/actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0
- name: Checkout the target branch and clean it up
# If you want to commit to a branch other than "pages", change the two references below, as well as the reference in the last step.
run: |
git checkout pages || git switch --orphan pages && \
rm -Rfv $(ls -A | egrep -v '^(\.git|LICENSE)$')
- name: Download generated files
uses: https://code.forgejo.org/actions/download-artifact@v3
with:
name: Generated files
- name: Publish the website
run: |
git config user.email codeberg-ci && \
git config user.name "Codeberg CI" && \
git add . && \
git commit --allow-empty --message "Codeberg build for ${GITHUB_SHA}" && \
git push origin pages

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
/public/
.vercel

View file

@ -1,43 +0,0 @@
stages:
- deploy
default:
image: debian:stable-slim
variables:
# The runner will be able to pull your Zola theme when the strategy is
# set to "recursive".
GIT_SUBMODULE_STRATEGY: "recursive"
# Make sure you specify a version of Zola here.
# Use the semver format (x.y.z) to specify a version.
# For example: "0.17.2" or "0.18.0".
ZOLA_VERSION:
description: "The version of Zola used to build the site."
value: "0.21.0"
pages:
stage: deploy
script:
- |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes --no-install-recommends wget ca-certificates
zola_url="https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
if ! wget --quiet --spider $zola_url; then
echo "A Zola release with the specified version could not be found."
exit 1
fi
wget $zola_url
tar -xzf *.tar.gz
./zola build
artifacts:
paths:
# This is the directory whose contents will be deployed to the GitLab Pages server.
# GitLab Pages expects a directory with this name by default.
- public
rules:
# This rule makes it so that your website is published and updated only when
# you push to the default branch of your repository (e.g. "master" or "main").
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

View file

@ -1,4 +1,16 @@
:root {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
@ -169,3 +181,30 @@
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<h1>404</h1>
<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

21
LICENSE
View file

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2023 Alan Pearce
Copyright (c) 2020 Jan Raasch
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS 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.

126
README.md
View file

@ -1,126 +0,0 @@
# Zola ʕ•ᴥ•ʔ Bear Blog
[![Netlify Deploy](http://img.shields.io/netlify/121b53ce-c913-4604-9179-eb3cca31cd2c?logo=netlify)](https://app.netlify.com/sites/zola-bearblog/deploys)
[![Vercel Deploy](https://deploy-badge.vercel.app/vercel/zola-bearblog)](https://zola-bearblog.vercel.app/_logs)
[![Forgejo Actions Status](https://codeberg.org/alanpearce/zola-bearblog/badges/workflows/zola.yaml/badge.svg)](https://codeberg.org/alanpearce/zola-bearblog/actions)
[![Gitlab Pipeline Status](https://gitlab.com/alanpearce/zola-bearblog/badges/main/pipeline.svg)](https://gitlab.com/alanpearce/zola-bearblog/-/commits/main)
🧸 A [Zola](https://www.getzola.org/)-theme based on [Bear Blog](https://bearblog.dev).
> Free, no-nonsense, super-fast blogging.
## Demo
This theme has multiple demo sites, to provide examples of how to set up deployment.
### Recommended
- [Netlify](https://zola-bearblog.netlify.app/)
- [Grebedoc](https://alanpearce.grebedoc.dev/zola-bearblog/)
- [Codeberg Pages](https://alanpearce.codeberg.page/zola-bearblog/)
- [Gitlab Pages](https://alanpearce.gitlab.io/zola-bearblog)
### Not recommended
These providers' build environments aren't yet compatible with Zola 0.21.0.
- [Cloudflare Pages](https://zola-bearblog.pages.dev/)
- [Vercel](https://zola-bearblog.vercel.app/)
## Screenshot
![Screenshot][screenshot]
When the user's browser is running »dark mode«, the dark color scheme will be used automatically. The default is the light/white color scheme. Check out the [`style.html`](https://codeberg.org/alanpearce/zola-bearblog/src/branch/main/templates/style.html)-file for the implementation.
## Installation
If you already have a Zola site on your machine, you can simply add this theme via
```
git submodule add https://codeberg.org/alanpearce/zola-bearblog themes/zola-bearblog
```
Then, adjust the `config.toml` as detailed below.
For more information, read the official [setup guide][zola-setup-guide] of Zola.
Alternatively, you can quickly deploy a copy of the theme site to Netlify using this button:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://gitlab.com/alanpearce/zola-bearblog)
(Note that this method makes it harder to keep up-to-date with theme updates, which might be necessary for newer versions of Zola.)
## Adjust configuration / config.toml
Please check out the included [config.toml](https://codeberg.org/alanpearce/zola-bearblog/src/branch/main/config.toml)
## Content & structure
### Menu
Create an array in `extra` with a key of `main_menu`. `url` is passed to [`get_url`](https://www.getzola.org/documentation/templates/overview/#get-url)
```toml
[[extra.main_menu]]
name = "Home"
url = "@/_index.md"
[[extra.main_menu]]
name = "Bear"
url = "@/bear.md"
[[extra.main_menu]]
name = "Zola"
url = "@/zola.md"
[[extra.main_menu]]
name = "Blog"
url = "@/blog/_index.md"
```
### Adding / editing content
#### Index-Page
The contents of the `index`-page may be changed by editing your `content/_index.md`-file.
### Adding your branding / colors / css
Add a `custom_head.html`-file to your `templates/`-directory. In there you may add a `<style>`-tag, *or* you may add a `<link>`-tag referencing your own `custom.css` (in case you prefer to have a separate `.css`-file). Check out the [`style.html`](https://codeberg.org/alanpearce/zola-bearblog/src/branch/main/templates/style.css.html)-file to find out which CSS-styles are applied by default.
### Table of contents
Table of contents are not rendered by default. To render them, set `extra.table_of_contents.show = true` in `config.toml`.
The table of contents is rendered inside a `details` element.
If you want the section to be collapsed on page load, set `extra.table_of_contents.visible_on_load = false`.
This defaults to `true`.
In addition, `extra.table_of_contents.max_level` can limit the maximum level of headers to show.
To show only `h1`s, set `max_level = 1`, to show `h1`s and `h2`s, set `max_level = 2`, and so on.
By default, `max_level` is set to 6, so all headers on the page are shown.
Below is an example of how to configure the table of contents in `config.toml`.
```toml
[extra.table_of_contents]
show = true
max_level = 2
visible_on_load = false
```
It can also be toggled on page-by-page basis. Add `extra.hide_table_of_contents = true` to the page's frontmatter to hide the table of contents for that specific page.
## Issues / Feedback / Contributing
Please use [Codeberg issues](https://codeberg.org/alanpearce/zola-bearblog/issues) and [Pull Requests](https://codeberg.org/alanpearce/zola-bearblog/pulls).
## Special Thanks 🎁
A special thank you goes out to [Herman](https://herman.bearblog.dev), for creating the original [ʕ•ᴥ•ʔ Bear Blog](https://bearblog.dev/) and [Jan Raasch](https://www.janraasch.com) for creating the hugo port of the Bear Blog theme.
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Alan Pearce](https://www.alanpearce.eu/)
[zola-setup-guide]: https://www.getzola.org/documentation/getting-started/installation/
[screenshot]: https://codeberg.org/alanpearce/zola-bearblog/raw/branch/main/screenshot.png

31
atom.xml Normal file
View file

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<subtitle>A Zola-theme based on Bear Blog.</subtitle>
<link rel="self" type="application/atom+xml" href="/atom.xml"/>
<link rel="alternate" type="text/html" href="/"/>
<generator uri="https://www.getzola.org/">Zola</generator>
<updated>2020-01-03T00:00:00+00:00</updated>
<id>/atom.xml</id>
<entry xml:lang="en">
<title>Markdown Syntax Guide</title>
<published>2020-01-03T00:00:00+00:00</published>
<updated>2020-01-03T00:00:00+00:00</updated>
<author>
<name>
Unknown
</name>
</author>
<link rel="alternate" type="text/html" href="/blog/markdown-syntax/"/>
<id>/blog/markdown-syntax/</id>
<summary type="html">&lt;p&gt;For a quick cheatsheet, check out &lt;a href=&quot;https:&#x2F;&#x2F;simplemde.com&#x2F;markdown-guide&quot;&gt;https:&#x2F;&#x2F;simplemde.com&#x2F;markdown-guide&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;p&gt;This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme.&lt;&#x2F;p&gt;</summary>
</entry>
</feed>

219
bear/index.html Normal file
View file

@ -0,0 +1,219 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bear | Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Bear">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/bear/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<h1>Bear</h1>
<main>
<p>Website: <a href="https://bearblog.dev">https://bearblog.dev</a></p>
<p>There is a website obesity crisis. Bloated websites are full of scripts, ads, and trackers slowing your readers down every time they try to read your well-crafted content.</p>
<p>Bear is all you need to build a fantastic and optimized site or blog. It works perfectly on <strong>any</strong> viewing device. All you need to focus on is writing good content.</p>
<p>Bear makes it simple to publish content online and grow an audience while keeping pages tiny, fast, and <strong>optimized for search engines.</strong></p>
<p>Each page is ~5kb.</p>
<p>Learn more and contribute on <a href="https://github.com/HermanMartinus/bearblog">GitHub</a>.</p>
</main>
<p>
</p>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

224
blog/index.html Normal file
View file

@ -0,0 +1,224 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/blog/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<main>
<ul class="blog-posts">
<li>
<span>
<i>
<time datetime="2020-01-03T00:00:00+00:00" pubdate>
2020-01-03
</time>
</i>
</span>
<a href="&#x2F;blog&#x2F;markdown-syntax&#x2F;">Markdown Syntax Guide</a>
</li></ul>
<div class="tags">
<a href="&#x2F;tags&#x2F;markdown&#x2F;">#markdown</a>&nbsp;
<a href="&#x2F;tags&#x2F;syntax&#x2F;">#syntax</a>&nbsp;
</div>
</main>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

View file

@ -0,0 +1,354 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Markdown Syntax Guide | Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Markdown Syntax Guide">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/blog/markdown-syntax/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<h1>Markdown Syntax Guide</h1>
<p>
<i>
<time datetime="2020-01-03T00:00:00+00:00" pubdate>2020-01-03</time>
</i>
</p>
<details open>
<summary>Table of contents</summary>
<ul>
<li>
<a href="/blog/markdown-syntax/#headings">Headings</a>
</li>
<li>
<a href="/blog/markdown-syntax/#h1">H1</a>
<ul>
<li>
<a href="/blog/markdown-syntax/#h2">H2</a>
</li>
<li>
<a href="/blog/markdown-syntax/#paragraph">Paragraph</a>
</li>
<li>
<a href="/blog/markdown-syntax/#blockquotes">Blockquotes</a>
</li>
<li>
<a href="/blog/markdown-syntax/#tables">Tables</a>
</li>
<li>
<a href="/blog/markdown-syntax/#code-blocks">Code Blocks</a>
</li>
<li>
<a href="/blog/markdown-syntax/#list-types">List Types</a>
</li>
<li>
<a href="/blog/markdown-syntax/#other-elements-abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</a>
</li>
</ul>
</li>
</ul>
</details>
<main>
<p>For a quick cheatsheet, check out <a href="https://simplemde.com/markdown-guide">https://simplemde.com/markdown-guide</a>.</p>
<hr />
<p>This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme.</p>
<span id="continue-reading"></span><h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don't communicate by sharing memory, share memory by communicating.<br>
<cite>Rob Pike<sup class="footnote-reference"><a href="#1">1</a></sup></cite></p>
</blockquote>
<div class="footnote-definition" id="1"><sup class="footnote-definition-label">1</sup>
<p>The above quote is excerpted from Rob Pike's <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.</p>
</div>
<h2 id="tables">Tables</h2>
<p>Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table><thead><tr><th>Name</th><th>Age</th></tr></thead><tbody>
<tr><td>Bob</td><td>27</td></tr>
<tr><td>Alice</td><td>23</td></tr>
</tbody></table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table><thead><tr><th>Italics</th><th>Bold</th><th>Code</th></tr></thead><tbody>
<tr><td><em>italics</em></td><td><strong>bold</strong></td><td><code>code</code></td></tr>
</tbody></table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<pre data-lang="html" class="language-html "><code class="language-html" data-lang="html">&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;&#x2F;title&gt;
&lt;&#x2F;head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;&#x2F;p&gt;
&lt;&#x2F;body&gt;
&lt;&#x2F;html&gt;
</code></pre>
<h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;&#x2F;title&gt;
&lt;&#x2F;head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;&#x2F;p&gt;
&lt;&#x2F;body&gt;
&lt;&#x2F;html&gt;
</code></pre>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements-abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.</p>
<p>H<sub>2</sub>O</p>
<p>X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup></p>
<p>Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.</p>
<p>Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
</main>
<p>
Tags:
<a href="/tags/markdown/">#markdown</a>
<a href="/tags/syntax/">#syntax</a>
</p>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

View file

@ -1,84 +0,0 @@
title = "Zola ʕ•ᴥ•ʔ Bear Blog"
base_url = "/"
description = "A Zola-theme based on Bear Blog."
generate_feeds = true
# Whether to automatically compile all Sass files in the sass directory
compile_sass = false
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
taxonomies = [
{ name = "categories", feed = true },
{ name = "tags", feed = true },
]
default_language = "en"
[translations]
no_posts = "No posts yet"
remove_filter = "Remove filter"
filtering_for = "Filtering for"
made_with = "Made with"
table_of_contents = "Table of contents"
language = "language"
site = "site"
[languages.de]
title = "Zola ʕ•ᴥ•ʔ Bear Blog"
description = "Ein Zola-theme basiert auf Bear Blog."
taxonomies = [
{ name = "categories", feed = true },
{ name = "tags", feed = true },
]
[languages.de.translations]
no_posts = "Keine Einträge"
remove_filter = "Filter entfernen"
filtering_for = "Filtern nach"
made_with = "Erstellt mit"
table_of_contents = "Inhaltsverzeichnis"
language = "Sprache"
site = "Site"
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = false
[extra]
date_format = "%Y-%m-%d"
webserver_sends_csp_headers = true
language_switcher = true
translations = [
{ code = "en", name = "English" },
{ code = "de", name = "Deutsch" },
]
[extra.table_of_contents]
show = true
max_level = 2
visible_on_load = true
[[extra.main_menu]]
name = "Home"
name_de = "Startseite"
url = "@/_index.md"
[[extra.main_menu]]
name = "Bear"
name_de = "Bear"
url = "@/bear.md"
[[extra.main_menu]]
name = "Zola"
name_de = "Zola"
url = "@/zola.md"
[[extra.main_menu]]
name = "Blog"
name_de = "Blog"
url = "@/blog/_index.md"

View file

@ -1,23 +0,0 @@
+++
+++
# Eine himmlische Verbindung
Es gibt eine Krise der Website-Fettleibigkeit. Aufgeblähte Websites voller Skripte, Werbung und Tracker bremsen deine Leser jedes Mal aus, wenn sie versuchen, deine gut gestalteten Inhalte zu lesen.
Zola Bear Blog ist alles, was du brauchst, um eine fantastische und optimierte Website oder einen Blog zu erstellen. Es funktioniert perfekt auf **jedem** Anzeigegerät. Alles, worauf du dich konzentrieren müssen, ist das Schreiben guter Inhalte.
[Zum ursprünglichen Bear-Blog](https://bearblog.dev/).
---
Was passiert, wenn du den weltweit schnellsten und leichtesten Generator für statische Websites mit einem Design-Theme kombinieren, das dir kostenlose, unkomplizierte und superschnelle Blogging-Funktionen bietet?
**Benutze dieses Theme und finde es heraus!**
Erstellt mit 💚 von [Alan Pearce](https://alanpearce.eu).
---
Veröffentliche einfach deine Inhalte online, bau ein Publikum auf und halte deine Seiten klein, schnell und **für Suchmaschinen optimiert**.
Jede Seite ist ~5kb groß, und du kannst dein Blog selbst **hosten**.

View file

@ -1,23 +0,0 @@
+++
+++
# A match made in heaven
There is a website obesity crisis. Bloated websites full of scripts, ads, and trackers are slowing your readers down every time they try to read your well-crafted content.
Zola Bear Blog is all you need to build a fantastic and optimized site or blog. It works perfectly on **any** viewing device. All you need to focus on is writing good content.
[Go to the original bear blog](https://bearblog.dev/).
---
What happens when you combine the worlds' fastest, most lightweight static site generator with a design theme built to provide you with free, no-nonsense, super-fast blogging capabilities?
**Use this theme, and find out!**
Made with 💚 by [Alan Pearce](https://alanpearce.eu).
---
Simply publish content online, grow an audience, and keep your pages tiny, fast, and **optimized for search engines**.
Each page is ~5kb, and you can **host your blog yourself**.

View file

@ -1,15 +0,0 @@
+++
title = "Bear"
+++
Webseite: [https://bearblog.dev](https://bearblog.dev)
Es gibt eine Krise der Website-Fettleibigkeit. Aufgeblähte Websites voller Skripte, Werbung und Tracker bremsen deine Leser jedes Mal aus, wenn sie versuchen, deine gut gestalteten Inhalte zu lesen.
Zola Bear Blog ist alles, was du brauchst, um eine fantastische und optimierte Website oder einen Blog zu erstellen. Es funktioniert perfekt auf **jedem** Anzeigegerät. Alles, worauf du dich konzentrieren müssen, ist das Schreiben guter Inhalte.
Bear macht es einfach, Inhalte online zu veröffentlichen und ein Publikum aufzubauen, während die Seiten klein, schnell und **für Suchmaschinen optimiert** bleiben.
Jede Seite ist ~5kb.
Weitere Informationen und Beiträge unter [GitHub](https://github.com/HermanMartinus/bearblog).

View file

@ -1,15 +0,0 @@
+++
title = "Bear"
+++
Website: [https://bearblog.dev](https://bearblog.dev)
There is a website obesity crisis. Bloated websites are full of scripts, ads, and trackers slowing your readers down every time they try to read your well-crafted content.
Bear is all you need to build a fantastic and optimized site or blog. It works perfectly on **any** viewing device. All you need to focus on is writing good content.
Bear makes it simple to publish content online and grow an audience while keeping pages tiny, fast, and **optimized for search engines.**
Each page is ~5kb.
Learn more and contribute on [GitHub](https://github.com/HermanMartinus/bearblog).

View file

@ -1,3 +0,0 @@
+++
title = "Blog"
+++

View file

@ -1,3 +0,0 @@
+++
title = "Blog"
+++

View file

@ -1,33 +0,0 @@
+++
title = "Wortbergen"
date = "2024-08-18"
description = "Beispielsbetrag"
taxonomies.tags = [
"test"
]
+++
Weit hinten, hinter den Wortbergen, fern der Länder Vokalien
und Konsonantien leben die Blindtexte. Abgeschieden wohnen sie in
Buchstabhausen an der Küste des Semantik, eines großen
Sprachozeans. Ein kleines Bächlein namens Duden fließt durch ihren Ort
und versorgt sie mit den nötigen Regelialien.
Es ist ein paradiesmatisches Land, in dem einem gebratene Satzteile in
den Mund fliegen. Nicht einmal von der allmächtigen Interpunktion
werden die Blindtexte beherrscht ein geradezu unorthographisches
Leben.
Eines Tages aber beschloß eine kleine Zeile Blindtext, ihr Name war
Lorem Ipsum, hinaus zu gehen in die weite Grammatik. Der große Oxmox
riet ihr davon ab, da es dort wimmele von bösen Kommata, wilden
Fragezeichen und hinterhältigen Semikoli, doch das Blindtextchen ließ
sich nicht beirren.
Es packte seine sieben Versalien, schob sich sein Initial in den
Gürtel und machte sich auf den Weg. Als es die ersten Hügel des
Kursivgebirges erklommen hatte, warf es einen letzten Blick zurück auf
die Skyline seiner Heimatstadt Buchstabhausen, die Headline von
Alphabetdorf und die Subline seiner eigenen Straße, der
Zeilengasse. Wehmütig lief ihm eine rhetorische Frage über die Wange,
dann setzte es seinen Weg fort. Unterwegs traf es eine Copy. Die Copy
warnte das Blindtextchen, da, wo sie herkäme wäre sie

View file

@ -1,130 +0,0 @@
+++
title = "Markdown Syntax Guide"
date = "2020-01-03"
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
taxonomies.tags = [
"markdown",
"syntax",
]
+++
For a quick cheatsheet, check out [https://simplemde.com/markdown-guide](https://simplemde.com/markdown-guide).
---
This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme.
<!--more-->
## Headings
The following HTML `<h1>``<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
# H1
## H2
### H3
#### H4
##### H5
###### H6
## Paragraph
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
## Blockquotes
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
#### Blockquote without attribution
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use *Markdown syntax* within a blockquote.
#### Blockquote with attribution
> Don't communicate by sharing memory, share memory by communicating.<br>
> — <cite>Rob Pike[^1]</cite>
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
## Tables
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
Name | Age
--------|------
Bob | 27
Alice | 23
#### Inline Markdown within tables
| Italics | Bold | Code |
| -------- | -------- | ------ |
| *italics* | **bold** | `code` |
## Code Blocks
#### Code block with backticks
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
```
#### Code block indented with four spaces
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
## List Types
#### Ordered List
1. First item
2. Second item
3. Third item
#### Unordered List
* List item
* Another item
* And another item
#### Nested list
* Fruit
* Apple
* Orange
* Banana
* Dairy
* Milk
* Cheese
## Other Elements — abbr, sub, sup, kbd, mark
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
H<sub>2</sub>O
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

View file

@ -1,37 +0,0 @@
+++
title = "Zola"
extra.hide_table_of_contents = true
+++
## Keine Abhängigkeiten
Zola wird als einzelne ausführbare Datei mit Sass-Kompilierung, Syntax
Syntaxhervorhebung, Inhaltsverzeichnis und vielen anderen Funktionen, die
die normalerweise das Einrichten einer Entwicklungsumgebung oder das Hinzufügen einiger
JavaScript-Bibliotheken zu deiner Website.
## Rasend schnell
Die durchschnittliche Website wird in weniger als einer Sekunde erstellt, einschließlich
Sass-Kompilierung und Syntaxhervorhebung.
## Skalierbar
Zola rendert deine gesamte Website als statische Dateien, was es trivial macht
jede Art von Datenverkehr zu bewältigen, ohne dass du dich um die
ohne sich um die Verwaltung eines Servers oder einer Datenbank kümmern zu müssen.
## Einfach zu bedienen
Von der CLI bis zur Template-Engine ist alles so konzipiert, dass es
intuitiv. Verlasse dich jedoch nicht auf mein Wort, sondern schaue in die Dokumentation
und überzeug dich selbst.
## Flexibel
Zola geht dir aus dem Weg, damit du dich auf deine Inhalte konzentrieren kannst, sei es ein
Blog, eine Wissensdatenbank, eine Landing Page oder eine Kombination aus beidem.
## Erweitertes Markdown
Zola verfügt über Shortcodes und interne Links, die das Schreiben von
deine Inhalte zu schreiben.

View file

@ -1,37 +0,0 @@
+++
title = "Zola"
extra.hide_table_of_contents = true
+++
## No dependencies
Zola comes as a single executable with Sass compilation, syntax
highlighting, table of contents and many other features that
traditionally require setting up a dev environment or adding some
JavaScript libraries to your site.
## Blazing fast
The average site will be generated in less than a second, including
Sass compilation and syntax highlighting.
## Scalable
Zola renders your whole site as static files, making it trivial to
handle any kind of traffic you will throw at it at no cost without
having to worry about managing a server or a database.
## Easy to use
From the CLI to the template engine, everything is designed to be
intuitive. Don't take my word for it though, look at the documentation
and see for yourself.
## Flexible
Zola gets out of your way so you can focus on your content, be it a
blog, a knowledge base, a landing page or a combination of them.
## Augmented Markdown
Zola comes with shortcodes and internal links to make it easier to
write your content.

217
de/bear/index.html Normal file
View file

@ -0,0 +1,217 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bear | Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Bear">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/bear/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Startseite</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<h1>Bear</h1>
<main>
<p>Webseite: <a href="https://bearblog.dev">https://bearblog.dev</a></p>
<p>Es gibt eine Krise der Website-Fettleibigkeit. Aufgeblähte Websites voller Skripte, Werbung und Tracker bremsen deine Leser jedes Mal aus, wenn sie versuchen, deine gut gestalteten Inhalte zu lesen.</p>
<p>Zola Bear Blog ist alles, was du brauchst, um eine fantastische und optimierte Website oder einen Blog zu erstellen. Es funktioniert perfekt auf <strong>jedem</strong> Anzeigegerät. Alles, worauf du dich konzentrieren müssen, ist das Schreiben guter Inhalte.</p>
<p>Bear macht es einfach, Inhalte online zu veröffentlichen und ein Publikum aufzubauen, während die Seiten klein, schnell und <strong>für Suchmaschinen optimiert</strong> bleiben.</p>
<p>Jede Seite ist ~5kb.</p>
<p>Weitere Informationen und Beiträge unter <a href="https://github.com/HermanMartinus/bearblog">GitHub</a>.</p>
</main>
<p>
</p>
<footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

240
de/blog/beispiel/index.html Normal file
View file

@ -0,0 +1,240 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wortbergen | Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Wortbergen">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/blog/beispiel/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Startseite</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<h1>Wortbergen</h1>
<p>
<i>
<time datetime="2024-08-18T00:00:00+00:00" pubdate>2024-08-18</time>
</i>
</p>
<main>
<p>Weit hinten, hinter den Wortbergen, fern der Länder Vokalien
und Konsonantien leben die Blindtexte. Abgeschieden wohnen sie in
Buchstabhausen an der Küste des Semantik, eines großen
Sprachozeans. Ein kleines Bächlein namens Duden fließt durch ihren Ort
und versorgt sie mit den nötigen Regelialien.</p>
<p>Es ist ein paradiesmatisches Land, in dem einem gebratene Satzteile in
den Mund fliegen. Nicht einmal von der allmächtigen Interpunktion
werden die Blindtexte beherrscht ein geradezu unorthographisches
Leben.</p>
<p>Eines Tages aber beschloß eine kleine Zeile Blindtext, ihr Name war
Lorem Ipsum, hinaus zu gehen in die weite Grammatik. Der große Oxmox
riet ihr davon ab, da es dort wimmele von bösen Kommata, wilden
Fragezeichen und hinterhältigen Semikoli, doch das Blindtextchen ließ
sich nicht beirren.</p>
<p>Es packte seine sieben Versalien, schob sich sein Initial in den
Gürtel und machte sich auf den Weg. Als es die ersten Hügel des
Kursivgebirges erklommen hatte, warf es einen letzten Blick zurück auf
die Skyline seiner Heimatstadt Buchstabhausen, die Headline von
Alphabetdorf und die Subline seiner eigenen Straße, der
Zeilengasse. Wehmütig lief ihm eine rhetorische Frage über die Wange,
dann setzte es seinen Weg fort. Unterwegs traf es eine Copy. Die Copy
warnte das Blindtextchen, da, wo sie herkäme wäre sie</p>
</main>
<p>
Tags:
<a href="/de/tags/test/">#test</a>
</p>
<footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

221
de/blog/index.html Normal file
View file

@ -0,0 +1,221 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/blog/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Startseite</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<main>
<ul class="blog-posts">
<li>
<span>
<i>
<time datetime="2024-08-18T00:00:00+00:00" pubdate>
2024-08-18
</time>
</i>
</span>
<a href="&#x2F;de&#x2F;blog&#x2F;beispiel&#x2F;">Wortbergen</a>
</li></ul>
<div class="tags">
<a href="&#x2F;de&#x2F;tags&#x2F;test&#x2F;">#test</a>&nbsp;
</div>
</main>
<footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

220
de/index.html Normal file
View file

@ -0,0 +1,220 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Startseite</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<main>
<h1 id="eine-himmlische-verbindung">Eine himmlische Verbindung</h1>
<p>Es gibt eine Krise der Website-Fettleibigkeit. Aufgeblähte Websites voller Skripte, Werbung und Tracker bremsen deine Leser jedes Mal aus, wenn sie versuchen, deine gut gestalteten Inhalte zu lesen.</p>
<p>Zola Bear Blog ist alles, was du brauchst, um eine fantastische und optimierte Website oder einen Blog zu erstellen. Es funktioniert perfekt auf <strong>jedem</strong> Anzeigegerät. Alles, worauf du dich konzentrieren müssen, ist das Schreiben guter Inhalte.</p>
<p><a href="https://bearblog.dev/">Zum ursprünglichen Bear-Blog</a>.</p>
<hr />
<p>Was passiert, wenn du den weltweit schnellsten und leichtesten Generator für statische Websites mit einem Design-Theme kombinieren, das dir kostenlose, unkomplizierte und superschnelle Blogging-Funktionen bietet?</p>
<p><strong>Benutze dieses Theme und finde es heraus!</strong></p>
<p>Erstellt mit 💚 von <a href="https://alanpearce.eu">Alan Pearce</a>.</p>
<hr />
<p>Veröffentliche einfach deine Inhalte online, bau ein Publikum auf und halte deine Seiten klein, schnell und <strong>für Suchmaschinen optimiert</strong>.</p>
<p>Jede Seite ist ~5kb groß, und du kannst dein Blog selbst <strong>hosten</strong>.</p>
</main>
<footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

212
de/tags/index.html Normal file
View file

@ -0,0 +1,212 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/tags/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Home</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<main>
<h1>Tags</h1>
<div class="tags">
<a href="&#x2F;de&#x2F;tags&#x2F;test&#x2F;">#test</a>&nbsp;
</div>
</main>
<footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

51
de/tags/test/atom.xml Normal file
View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
<title>Zola ʕ•ᴥ•ʔ Bear Blog - test</title>
<subtitle>Ein Zola-theme basiert auf Bear Blog.</subtitle>
<link rel="self" type="application/atom+xml" href="/de/tags/test/atom.xml"/>
<link rel="alternate" type="text/html" href="/"/>
<generator uri="https://www.getzola.org/">Zola</generator>
<updated>2024-08-18T00:00:00+00:00</updated>
<id>/de/tags/test/atom.xml</id>
<entry xml:lang="de">
<title>Wortbergen</title>
<published>2024-08-18T00:00:00+00:00</published>
<updated>2024-08-18T00:00:00+00:00</updated>
<author>
<name>
Unknown
</name>
</author>
<link rel="alternate" type="text/html" href="/de/blog/beispiel/"/>
<id>/de/blog/beispiel/</id>
<content type="html" xml:base="/de/blog/beispiel/">&lt;p&gt;Weit hinten, hinter den Wortbergen, fern der Länder Vokalien
und Konsonantien leben die Blindtexte. Abgeschieden wohnen sie in
Buchstabhausen an der Küste des Semantik, eines großen
Sprachozeans. Ein kleines Bächlein namens Duden fließt durch ihren Ort
und versorgt sie mit den nötigen Regelialien.&lt;&#x2F;p&gt;
&lt;p&gt;Es ist ein paradiesmatisches Land, in dem einem gebratene Satzteile in
den Mund fliegen. Nicht einmal von der allmächtigen Interpunktion
werden die Blindtexte beherrscht ein geradezu unorthographisches
Leben.&lt;&#x2F;p&gt;
&lt;p&gt;Eines Tages aber beschloß eine kleine Zeile Blindtext, ihr Name war
Lorem Ipsum, hinaus zu gehen in die weite Grammatik. Der große Oxmox
riet ihr davon ab, da es dort wimmele von bösen Kommata, wilden
Fragezeichen und hinterhältigen Semikoli, doch das Blindtextchen ließ
sich nicht beirren.&lt;&#x2F;p&gt;
&lt;p&gt;Es packte seine sieben Versalien, schob sich sein Initial in den
Gürtel und machte sich auf den Weg. Als es die ersten Hügel des
Kursivgebirges erklommen hatte, warf es einen letzten Blick zurück auf
die Skyline seiner Heimatstadt Buchstabhausen, die Headline von
Alphabetdorf und die Subline seiner eigenen Straße, der
Zeilengasse. Wehmütig lief ihm eine rhetorische Frage über die Wange,
dann setzte es seinen Weg fort. Unterwegs traf es eine Copy. Die Copy
warnte das Blindtextchen, da, wo sie herkäme wäre sie&lt;&#x2F;p&gt;
</content>
</entry>
</feed>

222
de/tags/test/index.html Normal file
View file

@ -0,0 +1,222 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/tags/test/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Home</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<main>
<h3 class="filter">Filtern nach "test"</h3>
<small>
<a href="/de/blog/">Filter entfernen</a>
</small>
<ul class="blog-posts">
<li>
<span>
<i>
<time datetime="2024-08-18T00:00:00+00:00" pubdate>
2024-08-18
</time>
</i>
</span>
<a href="&#x2F;de&#x2F;blog&#x2F;beispiel&#x2F;">Wortbergen</a>
</li>
</ul>
</main><footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

233
de/zola/index.html Normal file
View file

@ -0,0 +1,233 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola | Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola">
<meta name="description" content="Ein Zola-theme basiert auf Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="Sprache">
<a href="/zola/" hreflang="en" lang="en">English</a>
<span class="active">Deutsch</span>
</nav>
<a href="/de/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="Site">
<a href="/de/">Startseite</a>
<a href="/de/bear/">Bear</a>
<a href="/de/zola/">Zola</a>
<a href="/de/blog/">Blog</a>
</nav>
</header>
<h1>Zola</h1>
<main>
<h2 id="keine-abhangigkeiten">Keine Abhängigkeiten</h2>
<p>Zola wird als einzelne ausführbare Datei mit Sass-Kompilierung, Syntax
Syntaxhervorhebung, Inhaltsverzeichnis und vielen anderen Funktionen, die
die normalerweise das Einrichten einer Entwicklungsumgebung oder das Hinzufügen einiger
JavaScript-Bibliotheken zu deiner Website.</p>
<h2 id="rasend-schnell">Rasend schnell</h2>
<p>Die durchschnittliche Website wird in weniger als einer Sekunde erstellt, einschließlich
Sass-Kompilierung und Syntaxhervorhebung.</p>
<h2 id="skalierbar">Skalierbar</h2>
<p>Zola rendert deine gesamte Website als statische Dateien, was es trivial macht
jede Art von Datenverkehr zu bewältigen, ohne dass du dich um die
ohne sich um die Verwaltung eines Servers oder einer Datenbank kümmern zu müssen.</p>
<h2 id="einfach-zu-bedienen">Einfach zu bedienen</h2>
<p>Von der CLI bis zur Template-Engine ist alles so konzipiert, dass es
intuitiv. Verlasse dich jedoch nicht auf mein Wort, sondern schaue in die Dokumentation
und überzeug dich selbst.</p>
<h2 id="flexibel">Flexibel</h2>
<p>Zola geht dir aus dem Weg, damit du dich auf deine Inhalte konzentrieren kannst, sei es ein
Blog, eine Wissensdatenbank, eine Landing Page oder eine Kombination aus beidem.</p>
<h2 id="erweitertes-markdown">Erweitertes Markdown</h2>
<p>Zola verfügt über Shortcodes und interne Links, die das Schreiben von
deine Inhalte zu schreiben.</p>
</main>
<p>
</p>
<footer>
Erstellt mit <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

61
flake.lock generated
View file

@ -1,61 +0,0 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1754278406,
"narHash": "sha256-jvIQTMN5EzoOP5RaGztpVese8a3wqy0M/h6tNzycW28=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6a489c9482ca676ce23c0bcd7f2e1795383325fa",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View file

@ -1,20 +0,0 @@
{
description = "A bear blog theme for Zola";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
git
gnugrep
zola
];
};
});
}

222
index.html Normal file
View file

@ -0,0 +1,222 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<main>
<h1 id="a-match-made-in-heaven">A match made in heaven</h1>
<p>There is a website obesity crisis. Bloated websites full of scripts, ads, and trackers are slowing your readers down every time they try to read your well-crafted content.</p>
<p>Zola Bear Blog is all you need to build a fantastic and optimized site or blog. It works perfectly on <strong>any</strong> viewing device. All you need to focus on is writing good content.</p>
<p><a href="https://bearblog.dev/">Go to the original bear blog</a>.</p>
<hr />
<p>What happens when you combine the worlds' fastest, most lightweight static site generator with a design theme built to provide you with free, no-nonsense, super-fast blogging capabilities?</p>
<p><strong>Use this theme, and find out!</strong></p>
<p>Made with 💚 by <a href="https://alanpearce.eu">Alan Pearce</a>.</p>
<hr />
<p>Simply publish content online, grow an audience, and keep your pages tiny, fast, and <strong>optimized for search engines</strong>.</p>
<p>Each page is ~5kb, and you can <strong>host your blog yourself</strong>.</p>
</main>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

View file

@ -1,31 +0,0 @@
[build]
publish = "public"
command = "zola build"
[build.environment]
# Set the version name that you want to use and Netlify will automatically use it.
ZOLA_VERSION = "0.21.0"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "strict-origin-when-cross-origin"
Strict-Transport-Security = "max-age=63072000; includeSubdomains"
# To update the style-src value, run one of the following commands:
# linux (coreutils)
# cksum --algorithm sha256 --base64 < templates/style.css.html | cut -d' ' -f 4
# macOS (should also work on linux if xxd is installed)
# shasum --algorithm 256 templates/style.css.html | cut -d' ' -f 1 | xxd -r -p | base64
# if nothing else works
# openssl dgst -sha256 -binary < templates/style.css.html | openssl enc -base64
# and paste the output after sha256-
Content-Security-Policy = "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'"
Cross-Origin-Resource-Policy = "same-site"
Cache-Control = '''
max-age=300,
s-maxage=86400,
stale-while-revalidate
'''

4
robots.txt Normal file
View file

@ -0,0 +1,4 @@
User-agent: *
Disallow:
Allow: /
Sitemap: /sitemap.xml

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 KiB

56
sitemap.xml Normal file
View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>/</loc>
</url>
<url>
<loc>/bear/</loc>
</url>
<url>
<loc>/blog/</loc>
</url>
<url>
<loc>/blog/markdown-syntax/</loc>
<lastmod>2020-01-03</lastmod>
</url>
<url>
<loc>/categories/</loc>
</url>
<url>
<loc>/de/</loc>
</url>
<url>
<loc>/de/bear/</loc>
</url>
<url>
<loc>/de/blog/</loc>
</url>
<url>
<loc>/de/blog/beispiel/</loc>
<lastmod>2024-08-18</lastmod>
</url>
<url>
<loc>/de/categories/</loc>
</url>
<url>
<loc>/de/tags/</loc>
</url>
<url>
<loc>/de/tags/test/</loc>
</url>
<url>
<loc>/de/zola/</loc>
</url>
<url>
<loc>/tags/</loc>
</url>
<url>
<loc>/tags/markdown/</loc>
</url>
<url>
<loc>/tags/syntax/</loc>
</url>
<url>
<loc>/zola/</loc>
</url>
</urlset>

215
tags/index.html Normal file
View file

@ -0,0 +1,215 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/tags/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<main>
<h1>Tags</h1>
<div class="tags">
<a href="&#x2F;tags&#x2F;markdown&#x2F;">#markdown</a>&nbsp;
<a href="&#x2F;tags&#x2F;syntax&#x2F;">#syntax</a>&nbsp;
</div>
</main>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

31
tags/markdown/atom.xml Normal file
View file

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title>Zola ʕ•ᴥ•ʔ Bear Blog - markdown</title>
<subtitle>A Zola-theme based on Bear Blog.</subtitle>
<link rel="self" type="application/atom+xml" href="/tags/markdown/atom.xml"/>
<link rel="alternate" type="text/html" href="/"/>
<generator uri="https://www.getzola.org/">Zola</generator>
<updated>2020-01-03T00:00:00+00:00</updated>
<id>/tags/markdown/atom.xml</id>
<entry xml:lang="en">
<title>Markdown Syntax Guide</title>
<published>2020-01-03T00:00:00+00:00</published>
<updated>2020-01-03T00:00:00+00:00</updated>
<author>
<name>
Unknown
</name>
</author>
<link rel="alternate" type="text/html" href="/blog/markdown-syntax/"/>
<id>/blog/markdown-syntax/</id>
<summary type="html">&lt;p&gt;For a quick cheatsheet, check out &lt;a href=&quot;https:&#x2F;&#x2F;simplemde.com&#x2F;markdown-guide&quot;&gt;https:&#x2F;&#x2F;simplemde.com&#x2F;markdown-guide&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;p&gt;This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme.&lt;&#x2F;p&gt;</summary>
</entry>
</feed>

224
tags/markdown/index.html Normal file
View file

@ -0,0 +1,224 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/tags/markdown/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<main>
<h3 class="filter">Filtering for "markdown"</h3>
<small>
<a href="/blog/">Remove filter</a>
</small>
<ul class="blog-posts">
<li>
<span>
<i>
<time datetime="2020-01-03T00:00:00+00:00" pubdate>
2020-01-03
</time>
</i>
</span>
<a href="&#x2F;blog&#x2F;markdown-syntax&#x2F;">Markdown Syntax Guide</a>
</li>
</ul>
</main><footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

31
tags/syntax/atom.xml Normal file
View file

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title>Zola ʕ•ᴥ•ʔ Bear Blog - syntax</title>
<subtitle>A Zola-theme based on Bear Blog.</subtitle>
<link rel="self" type="application/atom+xml" href="/tags/syntax/atom.xml"/>
<link rel="alternate" type="text/html" href="/"/>
<generator uri="https://www.getzola.org/">Zola</generator>
<updated>2020-01-03T00:00:00+00:00</updated>
<id>/tags/syntax/atom.xml</id>
<entry xml:lang="en">
<title>Markdown Syntax Guide</title>
<published>2020-01-03T00:00:00+00:00</published>
<updated>2020-01-03T00:00:00+00:00</updated>
<author>
<name>
Unknown
</name>
</author>
<link rel="alternate" type="text/html" href="/blog/markdown-syntax/"/>
<id>/blog/markdown-syntax/</id>
<summary type="html">&lt;p&gt;For a quick cheatsheet, check out &lt;a href=&quot;https:&#x2F;&#x2F;simplemde.com&#x2F;markdown-guide&quot;&gt;https:&#x2F;&#x2F;simplemde.com&#x2F;markdown-guide&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;p&gt;This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme.&lt;&#x2F;p&gt;</summary>
</entry>
</feed>

224
tags/syntax/index.html Normal file
View file

@ -0,0 +1,224 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola ʕ•ᴥ•ʔ Bear Blog">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/tags/syntax/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<main>
<h3 class="filter">Filtering for "syntax"</h3>
<small>
<a href="/blog/">Remove filter</a>
</small>
<ul class="blog-posts">
<li>
<span>
<i>
<time datetime="2020-01-03T00:00:00+00:00" pubdate>
2020-01-03
</time>
</i>
</span>
<a href="&#x2F;blog&#x2F;markdown-syntax&#x2F;">Markdown Syntax Guide</a>
</li>
</ul>
</main><footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>

View file

@ -1,8 +0,0 @@
{% extends "base.html" %}
{% block title %}404{% endblock %}
{% block main %}
<h1>404</h1>
<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
{% endblock %}

View file

@ -1,31 +0,0 @@
<!DOCTYPE html>
<html lang="{{ lang | default(value="en-US" ) }}">
<head>
{%- if config.webserver_sends_csp_headers %}
{%- include "security_tags.html" ignore missing %}
{%- endif %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% include "favicon.html" ignore missing -%}
<title>{%- block title %}{{ config.title }}{%- endblock %}</title>
{% include "seo_tags.html" ignore missing -%}
<meta name="referrer" content="strict-origin-when-cross-origin">
{%- if config.generate_feeds %}
{% block rss -%}
{%- for feed_filename in config.feed_filenames %}
<link rel="alternate" type={% if feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="{{ get_url(path=feed_filename) | safe }}">
{%- endfor -%}
{%- endblock -%}
{%- endif %}
<style>
{% include "style.css.html" ignore missing %}
</style>
{%- include "custom_head.html" ignore missing %}
</head>
<body>
{% include "header.html" ignore missing %}
{%- block main -%}{%- endblock -%}
{%- include "footer.html" ignore missing -%}
{%- include "custom_body.html" ignore missing -%}
</body>
</html>

View file

@ -1,3 +0,0 @@
{% if config.extra.favicon %}
<link rel="shortcut icon" href="{{ config.extra.favicon }}">
{%- endif -%}

View file

@ -1,5 +0,0 @@
<footer>
{%- if not config.extra.hide_made_with_line %}
{{ trans(key="made_with", lang=lang) }} <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
{%- endif %}
</footer>

View file

@ -1,9 +0,0 @@
<header>
{%- include "language_switcher.html" %}
<a href="{{ get_url(path="@/_index.md", lang=lang) }}" class="title">
<h1>{{ config.title }}</h1>
</a>
<nav aria-label="{{ trans(key="site", lang=lang)}}">
{%- include "nav.html" %}
</nav>
</header>

View file

@ -1,7 +0,0 @@
{% extends "base.html" %}
{% block main %}
<main>
{{ section.content | safe }}
</main>
{% endblock %}

View file

@ -1,12 +0,0 @@
{%- if config.extra.language_switcher %}
<nav class="lang" aria-label="{{ trans(key="language", lang=lang) }}">
{%- set language_agnostic_path = current_path | default(value="/") | replace(from='/' ~ lang ~ '/', to = '/') | trim_start_matches(pat = '/') %}
{%- for tr in config.extra.translations %}
{%- if tr.code == lang %}
<span class="active">{{ tr.name }}</span>
{%- else %}
<a href="{{ get_url(path=language_agnostic_path, lang=tr.code) ~ "/" }}" hreflang="{{ tr.code }}" lang="{{ tr.code }}">{{ tr.name }}</a>
{%- endif %}
{%- endfor %}
</nav>
{%- endif -%}

View file

@ -1,12 +0,0 @@
{%- macro table_of_contents(toc, max_level) %}
<ul>
{%- for header in toc %}
<li>
<a href="{{ header.permalink | safe }}">{{ header.title }}</a>
{%- if header.children and header.level < max_level %}
{{- self::table_of_contents(toc=header.children, max_level=max_level) | indent() | safe() }}
{%- endif %}
</li>
{%- endfor %}
</ul>
{%- endmacro %}

View file

@ -1,21 +0,0 @@
{%- set current_lang = config.default_language %}
{%- if page %}
{%- set current_lang = page.lang %}
{%- elif section %}
{%- set current_lang = section.lang %}
{%- endif %}
{%- if config.extra.main_menu %}
{%- for item in config.extra.main_menu %}
{%- if current_lang == config.default_language %}
{%- set title = item.name %}
{%- else %}
{%- set language_key = 'name_' ~ current_lang %}
{%- set title = item[language_key] %}
{%- endif %}
{%- if item.url is matching("https?://") %}
<a href="{{ item.url }}">{{ title }}</a>
{%- else %}
<a href="{{ get_url(path=item.url, lang=lang )}}">{{ title }}</a>
{%- endif %}
{%- endfor %}
{%- endif -%}

View file

@ -1,38 +0,0 @@
{% import "macros.html" as macros %}
{% extends "base.html" %}
{% block title %}{{ page.title }} | {{ super() }}{% endblock %}
{% block main %}
{%- if not page.extra.menu -%}
<h1>{{ page.title }}</h1>
{%- if page.date %}
<p>
<i>
<time datetime="{{ page.date | date(format='%+') }}" pubdate>
{{- page.date | date(format=config.extra.date_format) -}}
</time>
</i>
</p>
{%- endif %}
{%- endif %}
{%- if config.extra.table_of_contents.show and not page.extra.hide_table_of_contents and page.toc %}
<details {% if config.extra.table_of_contents.visible_on_load %}open{% endif %}>
<summary>{{ trans(key="table_of_contents", lang=lang) }}</summary>
{{- macros::table_of_contents(toc=page.toc, max_level=config.extra.table_of_contents.max_level) | indent() | safe() }}
</details>
{%- endif %}
<main>
{{ page.content | safe }}
</main>
<p>
{%- if page.taxonomies %}
{%- for name, taxon in page.taxonomies %}
{{ name | capitalize }}:
{%- for item in taxon %}
<a href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">#{{ item }}</a>
{%- endfor %}
{%- endfor %}
{%- endif %}
</p>
{% endblock %}

View file

@ -1,35 +0,0 @@
{% extends "base.html" %}
{%- block main -%}
<main>
{%- if taxonomy.term %}
<h3 class="filter">{{ trans(key="filtering_for",lang=lang)}} "{{ section.title }}"</h3>
<small>
<a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">{{ trans(key="remove_filter", lang=lang) }}</a>
</small>
{%- endif %}
<ul class="blog-posts">
{%- for page in section.pages %}
<li>
<span>
<i>
<time datetime="{{ page.date | date(format='%+') }}" pubdate>
{{ page.date | date(format=config.extra.date_format) }}
</time>
</i>
</span>
<a href="{{ page.permalink }}">{{ page.title }}</a>
</li>
{%- else %}
<li>{{ trans(key="no_posts", lang=lang) }}</li>
{%- endfor -%}
</ul>
<div class="tags">
{%- set taxonomy_group = section.extra.taxonomy_group | default(value="tags") %}
{%- set tags = get_taxonomy(kind=taxonomy_group, lang=lang) %}
{%- for post in tags.items %}
<a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
{%- endfor %}
</div>
</main>
{% endblock %}

View file

@ -1,2 +0,0 @@
<!-- These tags are here for demostration. It's recommended to send them via HTTP headers instead. -->
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'unsafe-inline'">

View file

@ -1,2 +0,0 @@
<meta name="title" content="{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}">
<meta name="description" content="{{ config.description }}">

View file

@ -1,13 +0,0 @@
{% extends "base.html" %}
{% block main %}
<main>
<h1>{{ taxonomy.name | capitalize }}</h1>
<div class="tags">
{%- set tags = get_taxonomy(kind="tags", lang=lang) %}
{%- for post in tags.items %}
<a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
{%- endfor %}
</div>
</main>
{% endblock %}

View file

@ -1,30 +0,0 @@
{% extends "base.html" %}
{%- block main -%}
<main>
{%- if term %}
<h3 class="filter">{{ trans(key="filtering_for", lang=lang) }} "{{ term.name }}"</h3>
<small>
<a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">{{ trans(key="remove_filter", lang=lang) }}</a>
</small>
{%- endif %}
<ul class="blog-posts">
{%- for page in term.pages %}
<li>
<span>
<i>
<time datetime="{{ page.date | date(format='%+') }}" pubdate>
{{ page.date | date(format=config.extra.date_format) }}
</time>
</i>
</span>
<a href="{{ page.permalink }}">{{ page.title }}</a>
</li>
{%- else %}
<li>
{{ trans(key="no_posts", lang=lang) }}
</li>
{%- endfor %}
</ul>
</main>
{%- endblock -%}

View file

@ -1,30 +0,0 @@
name = "Bear"
description = "Bear blog theme"
license = "MIT"
homepage = "https://codeberg.org/alanpearce/zola-bearblog"
# The minimum version of Zola required
min_version = "0.4.0"
# An optional live demo URL
demo = "https://zola-bearblog.netlify.app/"
# Any variable there can be overridden in the end user `config.toml`
# You don't need to prefix variables by the theme name but as this will
# be merged with user data, some kind of prefix or nesting is preferable
# Use snake_casing to be consistent with the rest of Zola
[extra]
date_format = "%d %b, %Y"
webserver_sends_csp_headers = false
[extra.table_of_contents]
show = false
max_level = 6
visible_on_load = true
[author]
name = "Alan Pearce"
homepage = "https://alanpearce.eu"
[original]
author = "janraasch"
repo = "https://github.com/janraasch/hugo-bearblog/"
homepage = "https://www.janraasch.com"

View file

@ -1,50 +0,0 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "zola",
"build": {
"env": {
"ZOLA_VERSION": "0.21.0"
}
},
"cleanUrls": true,
"trailingSlash": true,
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Cross-Origin-Resource-Policy",
"value": "same-site"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{
"key": "Content-Security-Policy",
"value": "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'"
},
{
"key": "Cache-Control",
"value": "max-age=300, s-maxage=86400, stale-while-revalidate"
}
]
}
]
}

235
zola/index.html Normal file
View file

@ -0,0 +1,235 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zola | Zola ʕ•ᴥ•ʔ Bear Blog</title>
<meta name="title" content="Zola">
<meta name="description" content="A Zola-theme based on Bear Blog.">
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="alternate" type="application/atom+xml" title="Zola ʕ•ᴥ•ʔ Bear Blog" href="/atom.xml">
<style>
:root {
--width: 800px;
--font-main: Verdana, sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1em;
--background-color: #fff;
--heading-color: #222;
--text-color: #444;
--link-color: #3273dc;
--visited-color: #8b6fcb;
--code-background-color: #f2f2f2;
--code-color: #222;
--blockquote-color: #222;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #01242e;
--heading-color: #eee;
--text-color: #ddd;
--link-color: #8cc2dd;
--visited-color: #8b6fcb;
--code-background-color: #000;
--code-color: #ddd;
--blockquote-color: #ccc;
}
}
body {
font-family: var(--font-secondary);
font-size: var(--font-scale);
margin: auto;
padding: 20px;
max-width: var(--width);
text-align: left;
background-color: var(--background-color);
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
color: var(--heading-color);
}
a {
color: var(--link-color);
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
nav a {
margin-right: 8px;
}
nav span.active {
font-weight: bold;
margin-right: 10px;
}
strong,
b {
color: var(--heading-color);
}
button {
margin: 0;
cursor: pointer;
}
main {
line-height: 1.6;
}
table {
width: 100%;
}
hr {
border: 0;
border-top: 1px dashed;
}
img {
max-width: 100%;
}
pre code {
background-color: var(--code-background-color);
color: var(--code-color);
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 0.875rem;
overflow-x: auto;
}
code {
font-family: monospace;
padding: 2px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
}
blockquote {
border-left: 1px solid #999;
color: var(--code-color);
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px 0;
text-align: center;
}
.title:hover {
text-decoration: none;
}
.title h1 {
font-size: 1.5em;
}
.inline {
width: auto !important;
}
.highlight,
.code {
padding: 1px 15px;
background-color: var(--code-background-color);
color: var(--code-color);
border-radius: 3px;
margin-block-start: 1em;
margin-block-end: 1em;
overflow-x: auto;
}
/* blog post list */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: var(--visited-color);
}
.tags {
font-size: smaller;
}
</style>
</head>
<body>
<header>
<nav class="lang" aria-label="language">
<span class="active">English</span>
<a href="/de/zola/" hreflang="de" lang="de">Deutsch</a>
</nav>
<a href="/" class="title">
<h1>Zola ʕ•ᴥ•ʔ Bear Blog</h1>
</a>
<nav aria-label="site">
<a href="/">Home</a>
<a href="/bear/">Bear</a>
<a href="/zola/">Zola</a>
<a href="/blog/">Blog</a>
</nav>
</header>
<h1>Zola</h1>
<main>
<h2 id="no-dependencies">No dependencies</h2>
<p>Zola comes as a single executable with Sass compilation, syntax
highlighting, table of contents and many other features that
traditionally require setting up a dev environment or adding some
JavaScript libraries to your site.</p>
<h2 id="blazing-fast">Blazing fast</h2>
<p>The average site will be generated in less than a second, including
Sass compilation and syntax highlighting.</p>
<h2 id="scalable">Scalable</h2>
<p>Zola renders your whole site as static files, making it trivial to
handle any kind of traffic you will throw at it at no cost without
having to worry about managing a server or a database.</p>
<h2 id="easy-to-use">Easy to use</h2>
<p>From the CLI to the template engine, everything is designed to be
intuitive. Don't take my word for it though, look at the documentation
and see for yourself.</p>
<h2 id="flexible">Flexible</h2>
<p>Zola gets out of your way so you can focus on your content, be it a
blog, a knowledge base, a landing page or a combination of them.</p>
<h2 id="augmented-markdown">Augmented Markdown</h2>
<p>Zola comes with shortcodes and internal links to make it easier to
write your content.</p>
</main>
<p>
</p>
<footer>
Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
</footer>
</body>
</html>