Compare commits

..

5 commits

Author SHA1 Message Date
violette
208080766e added about handling ; bugfix 2024-05-10 00:20:07 -04:00
violette
64bef44564 removed unused theme 2024-05-10 00:20:07 -04:00
violette
b5b7b43530 smooth transition 2024-05-10 00:20:07 -04:00
violette
9f71249f83 removed buildable files 2024-05-10 00:20:07 -04:00
violette
d151aae3c2 added about entry 2024-05-10 00:18:39 -04:00
29 changed files with 51 additions and 622 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
public

9
content/en/about.md Normal file
View file

@ -0,0 +1,9 @@
+++
title = 'Intro'
date = 2024-01-11T17:48:10-05:00
draft = false
tags = ["Intro"]
+++
## Hi!!
TODO do this. French version is already done tho

33
content/fr/about.md Normal file
View file

@ -0,0 +1,33 @@
+++
title = 'Intro'
date = 2024-01-11T17:48:10-05:00
draft = false
tags = ["Intro"]
+++
## Bonjour !
Je m'appelle violette. Je suis étudiante (pour encore quelques mois seulement!)
à l'université de Sherbrooke ainsi que Polytech Annecy Chambéry. J'y étudis
l'informatique.
Ce "blog" me permettera de partager mes horribles fautes d'ortaugraffe
Je suis très interessée par l'informatique de bas niveau. J'aime aller regarder
comment fonctionne un ordinateur au plus bas niveaux. Pour ce faire, j'aime
aller fouiller dans le code de différentes saveurs de BSD (FreeBSD
principalement) ainsi que Linux.
Pendant mon temps libre, on peut me trouver faire des sons horribles à la
guitare, me plaindre que j'arrive jamais à prendre de photo nettes ou bien
essayer de patcher ce tabar@#0! de dwl.
## Contacts
Voici les moyens que je propose pour me contacter:
* mail: `vi@violette.town`
* matrix (personnel uniquement) : `@violette:bigblase.xyz`
* FediVerse (personnel uniquement) : `@violets@tech.lgbt`
## "Professionnel"
Voila mon
[CV](https://git.violette.town/violette/cv/raw/branch/typst/main_public_fr.pdf)!

View file

@ -1,7 +1,8 @@
+++ +++
title = 'Comming out' title = 'Comming out'
date = 2024-01-11T17:48:10-05:00 date = 2024-01-11T17:48:10-05:00
draft = true draft = false
tags = ["Coming out", "LGBT"]
+++ +++
Salut ! Ca fait longtemps que je me cache dans mon coin sans jamais donner trop Salut ! Ca fait longtemps que je me cache dans mon coin sans jamais donner trop

View file

@ -1,3 +0,0 @@
:root{--bg:white;--border:white;--text:black;--text-pink-dark:#ed61e1;--text-mauve-dark:#c282e0;--text-pink-light:#ed61e1;--text-mauve-light:#c282e0;--text-pink:blue;--text-mauve:#c282e0}@media(prefers-color-scheme:dark){:root{--bg:black;--text:white;--text-pink:var(--text-pink-dark);--text-mauve:var(--text-mauve-dark)}#color-mode:checked~.color-scheme-wrapper{--bg:black;--text:white;--text-pink:var(--text-pink-dark)
--text-mauve: var(--text-mauve-dark)}@media(prefers-color-scheme:dark){#color-mode:checked~.color-scheme-wrapper{--bg:white;--text:black;--text-pink:var(--text-pink-light)
--text-mauve: var(--text-mauve-light)}}.color-scheme-wrapper{min-height:100vh;background:var(--bg);color:var(--text)}.margin{background:var(--bg);color:var(--text);padding-left:20px;padding-right:20px}#color-mode{display:none}body{font-family:sans-serif;line-height:1.5;margin:0}header{background-color:var(--bg);color:var(--text);border-bottom:1px solid #222;margin-bottom:1rem}h1{width:100%;padding-top:10px;color:var(--text-pink);text-align:center;transition:300ms color;margin-top:0}h1:hover{color:var(--text-mauve);transition-duration:500ms}h2{color:var(--text-pink);transition:300ms color}h2:hover{color:var(--text-mauve);transition-duration:500ms}h3{color:var(--text-pink);padding-left:20px}footer{border-top:1px solid #222;margin-top:0;padding-top:0;width:100%;display:flex;position:sticky}.footer{color:var(--text);background-color:var(--bg);align-items:center;width:100%;display:flex;justify-content:center;gap:10px}.nav{display:flex;list-style-type:none;margin:5pt}main{background-color:var(--bg);border-bottom:1rem solid var(--bg)}.nav-right{display:flex;align-items:flex-end;justify-content:flex-end;list-style-type:none;width:100%}li{padding-left:5pt;padding-right:5pt}ul{padding-right:5pt;margin-left:5pt}a,label{color:#c282e0;text-decoration:none}.toggle-dark{align-self:flex-end;width:auto;padding-right:20pt;padding-left:20pt}.toggle-dark label{width:100%;display:block}}

View file

@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>
Categories | Vi's Corner
</title>
<link rel="stylesheet" href="/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css" integrity="sha256-yfKa9BDHfkTTZ9DFnJN0DKLXLKgjB0Bkjd8dmnVDoxI=" crossorigin="anonymous">
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj&#43;gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
</head>
<body>
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">
<header>
<h1>Violette&#39;s cozy corner</h1>
<span>
<nav>
<ul class="nav">
<li class="nav-left">
<a href="/fr/">Home</a>
</li>
<li class="nav-left">
<a>Posts</a>
</li>
<li class="nav-left">
<a href="/fr/tags/">Tags</a>
</li>
<li class="nav-right">
<span class="toggle-dark"><label for="color-mode">Dark Mode</label>
</span>
<span class="empty-space-menu"></span>
</li>
</ul>
</nav>
</span>
</header>
<main>
<h1>Categories</h1>
</main>
<footer>
<div class="footer">
<p>Take care, drink your water ! </p>
<img src="/neocat_hug_heart.png" width="32">
</div>
</footer>
</div></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Violette&#39;s cozy corner</title>
<link>https://bigblase.xyz/en/categories/</link>
<description>Recent content in Categories on Violette&#39;s cozy corner</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-US</language>
<atom:link href="https://bigblase.xyz/en/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta name="generator" content="Hugo 0.122.0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>
Vi's corner
</title>
<link rel="stylesheet" href="/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css" integrity="sha256-yfKa9BDHfkTTZ9DFnJN0DKLXLKgjB0Bkjd8dmnVDoxI=" crossorigin="anonymous">
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj&#43;gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
</head>
<body>
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">
<header>
<h1>Violette&#39;s cozy corner</h1>
<span>
<nav>
<ul class="nav">
<li class="nav-left">
<a href="/fr/">Home</a>
</li>
<li class="nav-left">
<a>Posts</a>
</li>
<li class="nav-left">
<a href="/fr/tags/">Tags</a>
</li>
<li class="nav-right">
<span class="toggle-dark"><label for="color-mode">Dark Mode</label>
</span>
<span class="empty-space-menu"></span>
</li>
</ul>
</nav>
</span>
</header>
<main>
</main>
<footer>
<div class="footer">
<p>Take care, drink your water ! </p>
<img src="/neocat_hug_heart.png" width="32">
</div>
</footer>
</div></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Violette&#39;s cozy corner</title>
<link>https://bigblase.xyz/en/</link>
<description>Recent content on Violette&#39;s cozy corner</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-US</language>
<atom:link href="https://bigblase.xyz/en/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://bigblase.xyz/en/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="fr-FR"
href="https://bigblase.xyz/fr/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="en-US"
href="https://bigblase.xyz/en/categories/"
/>
</url><url>
<loc>https://bigblase.xyz/en/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="fr-FR"
href="https://bigblase.xyz/fr/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="en-US"
href="https://bigblase.xyz/en/tags/"
/>
</url><url>
<loc>https://bigblase.xyz/en/</loc>
<xhtml:link
rel="alternate"
hreflang="fr-FR"
href="https://bigblase.xyz/fr/"
/>
<xhtml:link
rel="alternate"
hreflang="en-US"
href="https://bigblase.xyz/en/"
/>
</url>
</urlset>

View file

@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>
Tags | Vi's Corner
</title>
<link rel="stylesheet" href="/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css" integrity="sha256-yfKa9BDHfkTTZ9DFnJN0DKLXLKgjB0Bkjd8dmnVDoxI=" crossorigin="anonymous">
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj&#43;gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
</head>
<body>
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">
<header>
<h1>Violette&#39;s cozy corner</h1>
<span>
<nav>
<ul class="nav">
<li class="nav-left">
<a href="/fr/">Home</a>
</li>
<li class="nav-left">
<a>Posts</a>
</li>
<li class="nav-left">
<a href="/fr/tags/">Tags</a>
</li>
<li class="nav-right">
<span class="toggle-dark"><label for="color-mode">Dark Mode</label>
</span>
<span class="empty-space-menu"></span>
</li>
</ul>
</nav>
</span>
</header>
<main>
<h1>Tags</h1>
</main>
<footer>
<div class="footer">
<p>Take care, drink your water ! </p>
<img src="/neocat_hug_heart.png" width="32">
</div>
</footer>
</div></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Violette&#39;s cozy corner</title>
<link>https://bigblase.xyz/en/tags/</link>
<description>Recent content in Tags on Violette&#39;s cozy corner</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-US</language>
<atom:link href="https://bigblase.xyz/en/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="fr-FR" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>
Categories | Vi's Corner
</title>
<link rel="stylesheet" href="/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css" integrity="sha256-yfKa9BDHfkTTZ9DFnJN0DKLXLKgjB0Bkjd8dmnVDoxI=" crossorigin="anonymous">
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj&#43;gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
</head>
<body>
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">
<header>
<h1>Le Coin de Violette</h1>
<span>
<nav>
<ul class="nav">
<li class="nav-left">
<a href="/fr/">Home</a>
</li>
<li class="nav-left">
<a>Posts</a>
</li>
<li class="nav-left">
<a href="/fr/tags/">Tags</a>
</li>
<li class="nav-right">
<span class="toggle-dark"><label for="color-mode">Dark Mode</label>
</span>
<span class="empty-space-menu"></span>
</li>
</ul>
</nav>
</span>
</header>
<main>
<h1>Categories</h1>
</main>
<footer>
<div class="footer">
<p>Take care, drink your water ! </p>
<img src="/neocat_hug_heart.png" width="32">
</div>
</footer>
</div></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Le Coin de Violette</title>
<link>https://bigblase.xyz/fr/categories/</link>
<description>Recent content in Categories on Le Coin de Violette</description>
<generator>Hugo -- gohugo.io</generator>
<language>fr-FR</language>
<atom:link href="https://bigblase.xyz/fr/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="fr-FR" dir="ltr">
<head>
<meta name="generator" content="Hugo 0.122.0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>
Vi's corner
</title>
<link rel="stylesheet" href="/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css" integrity="sha256-yfKa9BDHfkTTZ9DFnJN0DKLXLKgjB0Bkjd8dmnVDoxI=" crossorigin="anonymous">
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj&#43;gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
</head>
<body>
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">
<header>
<h1>Le Coin de Violette</h1>
<span>
<nav>
<ul class="nav">
<li class="nav-left">
<a aria-current="page" class="active" href="/fr/">Home</a>
</li>
<li class="nav-left">
<a>Posts</a>
</li>
<li class="nav-left">
<a href="/fr/tags/">Tags</a>
</li>
<li class="nav-right">
<span class="toggle-dark"><label for="color-mode">Dark Mode</label>
</span>
<span class="empty-space-menu"></span>
</li>
</ul>
</nav>
</span>
</header>
<main>
</main>
<footer>
<div class="footer">
<p>Take care, drink your water ! </p>
<img src="/neocat_hug_heart.png" width="32">
</div>
</footer>
</div></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Le Coin de Violette</title>
<link>https://bigblase.xyz/fr/</link>
<description>Recent content on Le Coin de Violette</description>
<generator>Hugo -- gohugo.io</generator>
<language>fr-FR</language>
<atom:link href="https://bigblase.xyz/fr/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://bigblase.xyz/fr/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="en-US"
href="https://bigblase.xyz/en/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="fr-FR"
href="https://bigblase.xyz/fr/categories/"
/>
</url><url>
<loc>https://bigblase.xyz/fr/</loc>
<xhtml:link
rel="alternate"
hreflang="en-US"
href="https://bigblase.xyz/en/"
/>
<xhtml:link
rel="alternate"
hreflang="fr-FR"
href="https://bigblase.xyz/fr/"
/>
</url><url>
<loc>https://bigblase.xyz/fr/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="en-US"
href="https://bigblase.xyz/en/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="fr-FR"
href="https://bigblase.xyz/fr/tags/"
/>
</url>
</urlset>

View file

@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="fr-FR" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>
Tags | Vi's Corner
</title>
<link rel="stylesheet" href="/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css" integrity="sha256-yfKa9BDHfkTTZ9DFnJN0DKLXLKgjB0Bkjd8dmnVDoxI=" crossorigin="anonymous">
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj&#43;gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
</head>
<body>
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">
<header>
<h1>Le Coin de Violette</h1>
<span>
<nav>
<ul class="nav">
<li class="nav-left">
<a href="/fr/">Home</a>
</li>
<li class="nav-left">
<a>Posts</a>
</li>
<li class="nav-left">
<a aria-current="page" class="active" href="/fr/tags/">Tags</a>
</li>
<li class="nav-right">
<span class="toggle-dark"><label for="color-mode">Dark Mode</label>
</span>
<span class="empty-space-menu"></span>
</li>
</ul>
</nav>
</span>
</header>
<main>
<h1>Tags</h1>
</main>
<footer>
<div class="footer">
<p>Take care, drink your water ! </p>
<img src="/neocat_hug_heart.png" width="32">
</div>
</footer>
</div></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Le Coin de Violette</title>
<link>https://bigblase.xyz/fr/tags/</link>
<description>Recent content in Tags on Le Coin de Violette</description>
<generator>Hugo -- gohugo.io</generator>
<language>fr-FR</language>
<atom:link href="https://bigblase.xyz/fr/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html lang="fr-FR">
<head>
<title>https://violette.town/</title>
<link rel="canonical" href="https://violette.town/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://violette.town/">
</head>
</html>

View file

@ -1 +0,0 @@
(()=>{console.log("This site was generated by Hugo.");})();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://bigblase.xyz/fr/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>https://bigblase.xyz/en/sitemap.xml</loc>
</sitemap>
</sitemapindex>

@ -1 +0,0 @@
Subproject commit 91df000ca82769a7578df81fa142d1a18e446bc0

View file

@ -19,6 +19,7 @@
--text:white; --text:white;
--text-pink: var(--text-pink-light); --text-pink: var(--text-pink-light);
--text-mauve: var(--text-mauve-dark); --text-mauve: var(--text-mauve-dark);
}
} }
#color-mode:checked ~ .color-scheme-wrapper { #color-mode:checked ~ .color-scheme-wrapper {
@ -40,12 +41,11 @@
.color-scheme-wrapper { .color-scheme-wrapper {
min-height:100vh; min-height:100vh;
background:var(--bg); background:var(--bg);
transition: 1s all;
color:var(--text); color:var(--text);
} }
.margin { .margin {
background:var(--bg);
color:var(--text);
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
} }
@ -61,8 +61,6 @@ body {
} }
header { header {
background-color: var(--bg);
color: var(--text);
border-bottom: 1px solid #222; border-bottom: 1px solid #222;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -78,7 +76,6 @@ h1 {
h1:hover { h1:hover {
color: var(--text-mauve); color: var(--text-mauve);
transition-duration: 500ms;
} }
h2 { h2 {
@ -107,7 +104,6 @@ footer {
.footer { .footer {
color: var(--text); color: var(--text);
background-color: var(--bg);
align-items: center; align-items: center;
width: 100%; width: 100%;
display: flex; display: flex;
@ -121,11 +117,6 @@ footer {
margin: 5pt; margin: 5pt;
} }
main {
background-color: var(--bg);
border-bottom: 1rem solid var(--bg);
}
.nav-right { .nav-right {
display: flex; display: flex;
align-items:flex-end; align-items:flex-end;

View file

@ -1,3 +1,5 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }} {{ with $.GetPage "about" }}
{{ .Content }}
{{ end }}
{{ end }} {{ end }}

View file

@ -9,4 +9,3 @@
</title> </title>
{{ partialCached "head/css.html" . }} {{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}

View file

@ -1,12 +0,0 @@
{{- with resources.Get "js/main.js" }}
{{- if eq hugo.Environment "development" }}
{{- with . | js.Build }}
<script src="{{ .RelPermalink }}"></script>
{{- end }}
{{- else }}
{{- $opts := dict "minify" true }}
{{- with . | js.Build $opts | fingerprint }}
<script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script>
{{- end }}
{{- end }}
{{- end }}

View file

@ -55,7 +55,7 @@ Renders a menu for the given menu ID.
<label for="color-mode"> {{ i18n "dark-mode" }}</label> <label for="color-mode"> {{ i18n "dark-mode" }}</label>
</span> </span>
<span class="toggle-language"> <span class="toggle-language">
<a href={{ i18n "language-switch" }}> {{ i18n "language" }} <a href={{ i18n "language-switch" }}> {{ i18n "language" }}</a>
</span> </span>
<span class="empty-space-menu"></span> <span class="empty-space-menu"></span>
</li> </li>