1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-27 18:19: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 - [ ] Write documentation
- [ ] Share the fun somewhere - [ ] Share the fun somewhere
- [ ] Test with FreshRSS - [ ] 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": "i'll look into it later":

View file

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