1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-27 10:09:32 +00:00

feat: set article page language

This commit is contained in:
Étienne Fildadut 2025-10-12 13:14:05 +02:00
parent 25087a5430
commit 66e7aa0eb4
2 changed files with 4 additions and 2 deletions

View file

@ -70,6 +70,8 @@ before publishing:
- [ ] Write documentation
- [ ] Share the fun somewhere
- [ ] Test with FreshRSS
- [ ] Check locks & errors while writing to db (if JSON file corrupted)
- [ ] Feed & category order for googlereader ??
"i'll look into it later":

View file

@ -58,14 +58,14 @@ reader = "reader"
# Can be set through the environment variable HTML_TEMPLATE.
article_template = '''
<!doctype html>
<html lang="en-US">
<html lang="{{ language }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>{{ title }} - {{ feed_title }}</title>
{% if feed_icon_url %}
<link rel="icon" href="{{ feed_icon_url }}" />
{% endif %}
<title>{{ title }} - {{ feed_title }}</title>
</head>
<body style="background-color:black; color:white; overflow-x:hidden;">
<style>