This website works better with JavaScript.
Home
Explore
Help
Sign In
davidbgk
/
larlet-fr-david
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Set a default lang for Notes
master
David Larlet
4 years ago
parent
375ae7a2cc
commit
e973527ab9
No known key found for this signature in database
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
site.py
+ 2
- 0
site.py
View File
@@ -89,6 +89,8 @@ class Item:
@dataclass
class Note(Item):
lang: str = "fr"
def __post_init__(self):
suffix = len("/index.md")
prefix = len("YYYY/MM/DD") + suffix
Write
Preview
Loading…
Cancel
Save