mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
up atom feed generate
This commit is contained in:
parent
bff1ec1392
commit
791d93ecde
8 changed files with 69 additions and 25 deletions
|
@ -56,7 +56,7 @@ def enrich_one_file(html_content: str, partials: dict = {"header_page": "", "foo
|
|||
css_content = f.read()
|
||||
css_content = "<style type='text/css'>{css_content}</style>"
|
||||
template_content["CSS_INLINE_CONTENT"] = css_content
|
||||
template_content["PAGE_SLUG"] = detect_slug_in_file_basename(file)
|
||||
template_content["PAGE_SLUG"] = find_slug_in_file_basename(file)
|
||||
# remplir le template
|
||||
html_content = f"""
|
||||
|
||||
|
@ -70,7 +70,7 @@ def enrich_one_file(html_content: str, partials: dict = {"header_page": "", "foo
|
|||
<meta property="og:description" content="{template_content['BLOG_SUBTITLE']}">
|
||||
<meta property="og:url" content="{template_content['NDD']}">
|
||||
<meta property="og:site_name" content="{template_content['TITLE']}">
|
||||
<link rel="alternate" type="application/rss+xml" title="Cipher Bliss » Flux" href="{template_content['NDD']}/feed/">
|
||||
<link rel="alternate" type="application/atom+xml" title="Cipher Bliss » Flux" href="{template_content['NDD']}/feed/">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
<script src="main_script.js"></script>
|
||||
<meta charset="utf-8">
|
||||
|
@ -145,6 +145,7 @@ def enrich_one_file(html_content: str, partials: dict = {"header_page": "", "foo
|
|||
<nav class="footer-nav">
|
||||
{template_content['NAVIGATION']}
|
||||
<a href="/tags/">Tags</a>
|
||||
<a href=""{template_content['NDD']}/feed/">Flux Atom</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue