mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
templates up
This commit is contained in:
parent
76008e80bf
commit
7b12ef533b
10 changed files with 42 additions and 99 deletions
|
@ -1,40 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:image" content="{{template_content['OG_IMAGE']}}">
|
||||
<meta property="og:locale" content="{{template_content['LOCALE']}}">
|
||||
<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/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">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ article.title | safe }} -{{template_content['TITLE']}}</title>
|
||||
<meta name="author" content="{{template_content['AUTHOR']}}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{template_content['BLOG_TITLE']}} » Flux"
|
||||
href="{{template_content['NDD']}}/feed/">
|
||||
<meta property="og:title" content="{{template_content['PAGE_TITLE']}}">
|
||||
<meta property="og:locale" content="{{template_content['LOCALE']}}">
|
||||
<!-- Description de la page -->
|
||||
<meta name="description" content="{{template_content['PAGE_TITLE']}}">
|
||||
<meta name="reply-to" content="{{template_content['EMAIL']}}">
|
||||
<link rel="icon" type="{{template_content['SITE_ICON_TYPE']}}" href="{{template_content['SITE_ICON']}}">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
||||
|
||||
<!-- and it's easy to individually load additional languages -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/go.min.js"></script>
|
||||
|
||||
<script>hljs.highlightAll();</script>
|
||||
</head>
|
||||
{% include 'site_head.j2' %}
|
||||
|
||||
<body>
|
||||
|
||||
<div id="page" class="page_article page__{{template_content['PAGE_SLUG']}} ">
|
||||
<header id=" masthead" class="site-header">
|
||||
<div class="header-image" style="background-image: url('{{template_content["BANNIERE_ENTETE"]}}');
|
1
templates/html/masthead.j2
Normal file
1
templates/html/masthead.j2
Normal file
|
@ -0,0 +1 @@
|
|||
coucou masthead.j2
|
34
templates/html/site_head.html.j2
Normal file
34
templates/html/site_head.html.j2
Normal file
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html lang="{{template_content['LOCALE']}}">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:image" content="{{template_content['OG_IMAGE']}}">
|
||||
<meta property="og:locale" content="{{template_content['LOCALE']}}">
|
||||
<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/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">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ article.title | safe }} -{{template_content['TITLE']}}</title>
|
||||
<meta name="author" content="{{template_content['AUTHOR']}}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{template_content['BLOG_TITLE']}} » Flux"
|
||||
href="{{template_content['NDD']}}/feed/">
|
||||
<meta property="og:title" content="{{template_content['PAGE_TITLE']}}">
|
||||
<meta property="og:locale" content="{{template_content['LOCALE']}}">
|
||||
<!-- Description de la page -->
|
||||
<meta name="description" content="{{template_content['PAGE_TITLE']}}">
|
||||
<meta name="reply-to" content="{{template_content['EMAIL']}}">
|
||||
<link rel="icon" type="{{template_content['SITE_ICON_TYPE']}}" href="{{template_content['SITE_ICON']}}">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
||||
|
||||
<!-- and it's easy to individually load additional languages -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/go.min.js"></script>
|
||||
|
||||
<script>hljs.highlightAll();</script>
|
||||
</head>
|
|
@ -1,20 +0,0 @@
|
|||
<!-- site_head.html.jinja -->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:image" content="{{ template_content['SITE_ICON'] }}">
|
||||
<meta property="og:locale" content="{{ template_content['LOCALE'] }}">
|
||||
<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/atom+xml" title="{{ template_content['BLOG_TITLE'] }} » Flux" href="{{ template_content['NDD'] }}/feed/">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
<script src="main_script.js"></script>
|
||||
<title>{{ template_content['TITLE'] }}</title>
|
||||
<meta name="author" content="{{ template_content['AUTHOR'] }}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ template_content['BLOG_TITLE'] }} » Flux" href="{{ template_content['NDD'] }}/feed/">
|
||||
<meta property="og:title" content="{{ template_content['PAGE_TITLE'] }}">
|
||||
<meta name="description" content="{{ template_content['PAGE_TITLE'] }}">
|
||||
<meta name="reply-to" content="{{ template_content['EMAIL'] }}">
|
||||
<link rel="icon" type="{{ template_content['SITE_ICON_TYPE'] }}" href="{{ template_content['SITE_ICON'] }}">
|
||||
</head>
|
Loading…
Add table
Add a link
Reference in a new issue