homepage/_layouts/default.html

107 lines
4.4 KiB
HTML
Raw Permalink Normal View History

2013-02-24 17:01:24 +01:00
<!doctype html>
2018-03-19 22:46:27 +01:00
{% if page.lang %}
<html lang="{{ page.lang }}">
2014-04-15 15:06:31 +02:00
{% else %}
<html lang="fr">
{% endif %}
2022-12-12 21:13:33 +01:00
{% assign month = "now" | date: "%m" %}
2013-02-24 17:01:24 +01:00
<head>
<meta charset="utf-8">
2013-03-08 13:14:26 +01:00
<title>
2019-03-22 12:33:22 +01:00
{{ page.page_title }}
2013-03-08 13:14:26 +01:00
</title>
2022-12-12 21:13:33 +01:00
{% if month == "12" or month == "1" %}
<script src="https://app.embed.im/snow.js" defer></script>
{% endif %}
2013-02-24 19:23:51 +01:00
<link rel="icon" href="/images/favicon.png">
2013-07-18 14:53:14 +02:00
{% if page.math %}
2013-02-26 10:20:14 +01:00
<script type="text/x-mathjax-config">
2013-06-29 15:58:46 +02:00
MathJax.Hub.Config({
menuSettings: {
zoom: "Click",
zscale: "200%"
},
tex2jax: {
inlineMath: [
['$','$'],
['\\(','\\)']
]
}
});
2013-02-26 10:20:14 +01:00
</script>
2018-03-26 18:16:16 +02:00
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/latest.js?config=TeX-AMS-MML_HTMLorMML' async></script>
2013-07-18 14:53:14 +02:00
{% endif %}
2018-10-04 16:16:16 +02:00
<link rel="stylesheet" href="/css/screen.css">
<link rel="stylesheet" href="/css/friendly.css">
2013-02-24 17:01:24 +01:00
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="stylesheets/ie.css">
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
</head>
<body>
2013-03-08 11:32:41 +01:00
<div id="outter-wrapper">
2014-01-27 21:52:30 +01:00
<div id="wrapper">
2013-02-24 17:01:24 +01:00
2014-01-27 21:52:30 +01:00
<header>
2019-03-22 12:33:22 +01:00
<h1><a href="{{ page.homelink }}">{{ page.title }}</a></h1>
2014-01-27 21:52:30 +01:00
</header>
2013-03-08 11:32:41 +01:00
2014-01-27 21:52:30 +01:00
<section>
2021-10-22 15:08:00 +02:00
<p class="switcher">
2019-03-22 12:33:22 +01:00
{% if page.lang == 'en' %}
2023-04-21 14:59:05 +02:00
{% if page.fr_url == '' %}
2024-03-22 09:41:01 +01:00
<a href="{{ page.url | remove_first: '/en' }}"><img class="switch_flag" src="/images/flags/fr.svg" alt="flag of France"></a>
2023-04-21 14:59:05 +02:00
{% else %}
2024-03-22 09:41:01 +01:00
<a href="{{ page.fr_url }}"><img class="switch_flag" src="/images/flags/fr.svg" alt="flag of France"></a>
2023-04-21 14:59:05 +02:00
{% endif %}
2021-10-22 15:08:00 +02:00
2024-03-22 09:41:01 +01:00
<a href="/de"><img class="switch_flag" src="/images/flags/at_de.svg" alt="half flag of Austria, half flag of Germany"></a>
2021-10-22 15:08:00 +02:00
</p>
2019-03-22 12:33:22 +01:00
{% include nav_en.html %}
2021-10-22 15:08:00 +02:00
{% else %}
{% if page.lang == 'de' %}
2024-03-22 09:41:01 +01:00
<a href="/"><img class="switch_flag" src="/images/flags/fr.svg" alt="Flagge Frankreichs"></a>
<a href="/en"><img class="switch_flag" src="/images/flags/uk.svg" alt="Union Jack"></a>
2021-10-22 15:08:00 +02:00
</p>
{% include nav_de.html %}
2019-03-22 12:33:22 +01:00
{% else %}
{% if page.en_url == '' %}
2024-03-22 09:41:01 +01:00
<a href="/en{{page.url}}"><img class="switch_flag" src="/images/flags/uk.svg" alt="Union Jack"></a>
2019-03-22 12:33:22 +01:00
{% else %}
2024-03-22 09:41:01 +01:00
<a href="{{ page.en_url }}"><img class="switch_flag" src="/images/flags/uk.svg" alt="Union Jack"></a>
2019-03-22 12:33:22 +01:00
{% endif %}
2021-10-22 15:08:00 +02:00
2024-03-22 09:41:01 +01:00
<a href="/de"><img class="switch_flag" src="/images/flags/at_de.svg" alt="demi drapeau de l'Autriche, demi dreapeau de l'Allemagne"></a>
2021-10-22 15:08:00 +02:00
</p>
2019-03-22 12:33:22 +01:00
{% include nav_fr.html %}
{% endif %}
2021-10-22 15:08:00 +02:00
{% endif %}
2019-03-22 12:33:22 +01:00
<hr>
<div id="page_subtitle">{{ page.subtitle }}</div>
2014-01-27 21:52:30 +01:00
<div id="content">
2013-03-08 11:32:41 +01:00
{{ content }}
2013-07-18 15:37:08 +02:00
</div>
2014-01-27 21:52:30 +01:00
<p class="clear"></p>
2013-06-29 15:58:46 +02:00
<hr class="clear">
2013-11-06 12:00:43 +01:00
<footer>
2014-03-23 19:33:38 +01:00
<span class="credits left"><a href="http://validator.w3.org/check?uri=http%3A%2F%2Fgaspard.janko.fr{{ page.url | cgi_escape }}">Validate</a> HTML</span>
2022-01-14 12:18:27 +01:00
<span class="credits right">Generated on <a href="https://git.oknaj.eu/gjankowiak/homepage">{{ site.time | date_to_long_string }}</a> with <a href="http://jekyllrb.com/">Jekyll</a></span>
2013-11-06 12:00:43 +01:00
</footer>
2013-03-08 11:32:41 +01:00
</section>
2013-02-24 17:01:24 +01:00
2013-03-08 11:32:41 +01:00
</div><!-- wrapper -->
2014-09-06 19:27:35 +02:00
<div id="foot_image" title="Le Dévoluy, depuis le Mont Aiguille">
2014-09-24 13:04:09 +02:00
<img width="900" height="150" alt="devoluy" src="/images/devoluy.png">
<img width="15" height="18" alt="skier" id="ski" src="/images/ski.png">
2014-09-06 19:27:35 +02:00
<div id="clouds"></div>
2013-03-08 11:32:41 +01:00
</div>
2013-02-24 17:01:24 +01:00
</div>
2014-01-27 21:52:30 +01:00
</body>
2013-02-24 17:01:24 +01:00
</html>