mirror of
https://codeberg.org/sofiaritz/website.git
synced 2023-09-06 01:24:41 +00:00
Add English weblog support
This commit is contained in:
parent
6ec64b6d15
commit
ecd6ca2809
4 changed files with 36 additions and 0 deletions
|
@ -15,6 +15,10 @@ load_comments_script: true
|
|||
{% endif %}
|
||||
{{ content | timeToRead }}
|
||||
|
||||
{% if english_path and english_title %}
|
||||
<blockquote>English version available: <a href="/en/weblog/{{ english_path }}">{{ english_title }}</a></blockquote>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{{ content | safe }}
|
||||
|
||||
|
|
|
@ -28,6 +28,13 @@
|
|||
<li><a href="/en/contact">contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<i>thoughts</i>
|
||||
<ul>
|
||||
<li><a href="/en/weblog">weblog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% else %}
|
||||
<div>
|
||||
<i>yo</i>
|
||||
|
|
12
src/en/weblog.md
Normal file
12
src/en/weblog.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
layout: simple_page.njk
|
||||
tags: meta
|
||||
title: weblog
|
||||
english: true
|
||||
---
|
||||
|
||||
# weblog
|
||||
I'll use this space to talk about random ideas, experiments, and things I find interesting!
|
||||
|
||||
### 2023
|
||||
- [First post](/en/weblog/firstpost) My first post! :)
|
13
src/en/weblog/firstpost.md
Normal file
13
src/en/weblog/firstpost.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
layout: post.njk
|
||||
title: First post
|
||||
tags:
|
||||
- meta
|
||||
date: 2023-04-22
|
||||
english: true
|
||||
---
|
||||
|
||||
This is the first post in my English weblog! I'll post translations of my [Spanish weblog](/weblog) and some
|
||||
English-specific things!
|
||||
|
||||
Right now there are some things missing, but I'll improve this weblog over time :)
|
Loading…
Reference in a new issue