summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authordmlunar <root@lunar.sh>2025-03-14 13:56:27 +0200
committerdmlunar <root@lunar.sh>2025-08-08 16:16:49 +0200
commit994b347557ccf03af0cd910d8ba50d127b7a61dd (patch)
tree9ece6c3e1b6bf5477737df137df0536b0c8e9559 /_layouts
downloadjournal.lunar.sh-main.tar.gz
journal.lunar.sh-main.zip
journal: initial commitHEADmain
initial commit.
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/about.html75
-rw-r--r--_layouts/default.html158
-rw-r--r--_layouts/page.html14
-rw-r--r--_layouts/post.html93
4 files changed, 340 insertions, 0 deletions
diff --git a/_layouts/about.html b/_layouts/about.html
new file mode 100644
index 0000000..01b92dc
--- /dev/null
+++ b/_layouts/about.html
@@ -0,0 +1,75 @@
+---
+layout: default
+---
+
+<!-- The Lunar Journal -->
+<!-- Written by Dylan Müller, Copyright 2023 -->
+
+<script src="/assets/js/clipboard.js"></script>
+
+<div id="main" role="main" class="main">
+ <article class="post">
+ <h1 class="title">{{ page.title }}</h1>
+ <div class="ascii">
+ <pre>
+ _ _ _ _
+ (_) | | | | | |
+ _ ___ _ _ _ __ _ __ __ _| | | |_ _ _ __ __ _ _ __ ___| |__
+ | |/ _ \| | | | '__| '_ \ / _` | | | | | | | '_ \ / _` | '__/ __| '_ \
+ | | (_) | |_| | | | | | | (_| | |_| | |_| | | | | (_| | |_ \__ \ | | |
+ | |\___/ \__,_|_| |_| |_|\__,_|_(_)_|\__,_|_| |_|\__,_|_(_)|___/_| |_|
+ _/ |
+|__/
+ </pre>
+ </div>
+ <div class="entry">
+ {{ content }}
+ </div>
+ </article>
+ <hr>
+ <div class="ascii">
+ <pre>
+ <>
+ .-"""-. ||::::::==========
+ /= ___ \ ||::::::==========
+ |- /~~~\ | ||::::::==========
+ |=( '.' ) | ||================
+ \__\_=_/__/ ||================
+ {_______} ||================
+ /` * `'--._||
+ /= . [] . { >
+ / /|ooo |`'--'||
+ ( )\_______/ ||
+ \``\/ \ ||
+ `-| == \_| ||
+ / | ||
+ |= >\ __/ ||
+ \ \ |- --| ||
+ \ __| \___/ ||
+ jgs _{__} _{__} ||
+ ( )( ) ||
+ ^^~ `""" `""" ~^^^~^^~~~^^^~^^^~^^^~^^~^
+ </pre>
+</div>
+</div>
+<div class="footer-container">
+ <div class="footer-content">
+ <p class="muted">
+ Questions, comments? Please send a plain-text email to <a href="mailto:root@lunar.sh">root@lunar.sh</a>
+ with a descriptive subject line and we will try get back to you!
+ </p>
+ <div>Copyright © 2022-2024</div>
+ <div class="reference">
+ <a href="{{ site.github_raw }}/{{ page.path }}">{{ page.path | split: '/' | last}}</a>
+ </div>
+ <div>
+ <a href="https://journal.lunar.sh/info.html">
+ <img class="greyscale" title="About Us" src="https://journal.lunar.sh/images/megafon.gif">
+ </a>
+ </div>
+ <div class="footer-love">
+ <strong>Developed</strong> with <i class="fas fa-heart"></i>
+ by <a href="https://labs.lunar.sh"><strong>Lunar RF Labs</strong></a>
+ </div>
+</div>
+</div>
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..4054a55
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,158 @@
+<!DOCTYPE html>
+<html>
+
+<!-- Lunar Journal, Copyright 2023-2025 -->
+<!-- Written by Dylan Müller -->
+<!-- https://journal.lunar.sh -->
+
+<!--
+Copyright © 2025 Lunar RF Labs. All rights reserved.
+
+This code is the property of Lunar RF Labs and may not be copied,
+reproduced, or distributed without prior written permission.
+For inquiries, contact root@lunar.sh.
+-->
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="author" content="Dylan Müller" />
+ <meta name="copyright" content="Dylan Müller" />
+
+<style>
+html {
+ visibility: hidden;
+ opacity: 0;
+}
+</style>
+<script>
+ document.fonts.ready.then(() => {
+ document.documentElement.style.visibility = "visible";
+ document.documentElement.style.opacity = "1";
+ });
+</script>
+
+ <script>
+ console.log("Lunar Journal (c) 2022-2024");
+ console.log("https://journal.lunar.sh");
+ console.log("email: root@lunar.sh");
+ console.log("atom: https://journal.lunar.sh/feed.xml")
+ console.log(`
++---------------------------------------+
+| .-. .-. .-. |
+| / \\ / \\ / \\ |
+| / \\ / \\ / \\ / |
+| \\ / \\ / \\ / |
+| "_" "_" "_" |
+| |
+| _ _ _ _ _ _ ___ ___ _ _ |
+| | | | | | | \\| | /_\\ | _ \\ / __| || | |
+| | |_| |_| | .\` |/ _ \\| /_\\__ \\ __ | |
+| |____\\___/|_|\\_/_/ \\_\\_|_(_)___/_||_| |
+| |
+| |
+| Lunar RF Labs |
+| https://lunar.sh |
+| |
+| Research Laboratories |
+| Copyright (C) 2022-2024 |
+| |
++---------------------------------------+
+ `)
+ </script>
+
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-JJM07YZF2W"></script>
+ <script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+ gtag('config', 'G-JJM07YZF2W');
+ </script>
+ <title>Lunar RF Labs | {% if page.title %}{{ page.title }} – {% endif %}{{ site.name }}</title>
+ {% include meta.html %}
+ <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" />
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.0/css/all.css">
+ <meta name="image" property="og:image" content="/images/logo_space.jpg" />
+ <link rel="icon" href="/assets/lunar.ico" type="image/x-icon">
+ <link rel="shortcut icon" href="/assets/lunar.ico" type="image/x-icon">
+ <link rel="alternate" type="application/rss+xml"
+ title="RSS"
+ href="https://journal.lunar.sh/feed.xml">
+</head>
+
+<body>
+ <div class="sticky">
+ <div class="menu">
+ <header class="site-header clearfix">
+ <div class="site-info">
+ <h1 class="site-name"><a class="no-decoration" href="{{ site.baseurl }}/">
+ journal.lunar.sh<span class="caret"></span></a></h1>
+ <p class="site-description">{{ site.bio }}</p>
+ </div>
+ <nav>
+ <a href="{{ site.baseurl }}/">Journal</a>
+ <a href="{{ site.baseurl }}/info.html">About</a>
+ </nav>
+ </header>
+ </div>
+ </div>
+ {{ content }}
+
+ <div id="cookieBanner" class="cookies-banner cookies-banner--position-right">
+ <div class="cookies-banner__body">
+ <div class="cookies-banner__paragraph">
+ <a href="https://labs.lunar.sh">Lunar RF Labs</a>, a radio-frequency research laboratory presents the <a href="https://journal.lunar.sh">Lunar Journal</a>;
+ A technical journal for engineers, researchers and hobbiyists.
+ </div>
+ <div class="cookies-banner__paragraph">
+<pre>
++---------------------------------------+
+| .-. .-. .-. |
+| / \ / \ / \ |
+| / \ / \ / \ / |
+| \ / \ / \ / |
+| "_" "_" "_" |
+| |
+| _ _ _ _ _ _ ___ ___ _ _ |
+| | | | | | | \| | /_\ | _ \ / __| || | |
+| | |_| |_| | .` |/ _ \| /_\__ \ __ | |
+| |____\___/|_|\_/_/ \_\_|_(_)___/_||_| |
+| |
+| |
+| Lunar RF Labs |
+| https://lunar.sh |
+| |
+| Research Laboratories |
+| Copyright (C) 2022-2024 |
+| |
++---------------------------------------+
+</pre>
+ </div>
+ </div>
+ <button id="closeCookieBanner" class="cookies-banner__close-button">[X]</button>
+</div>
+
+<script>
+ function setCookie(name, value, days) {
+ const expires = new Date(Date.now() + days * 864e5).toUTCString();
+ document.cookie = `${name}=${encodeURIComponent(value)}; expires=${expires}; path=/`;
+ }
+
+ function getCookie(name) {
+ return document.cookie.split('; ').find(row => row.startsWith(name + '='))?.split('=')[1];
+ }
+
+ window.addEventListener('DOMContentLoaded', () => {
+ const banner = document.getElementById('cookieBanner');
+
+ if (!getCookie('cookieBannerDismissed')) {
+ banner.style.display = 'block';
+ }
+
+ document.getElementById('closeCookieBanner').addEventListener('click', () => {
+ setCookie('cookieBannerDismissed', 'true', 1); // expires in 1 day
+ banner.remove();
+ });
+ });
+</script>
+</body>
+</html>
diff --git a/_layouts/page.html b/_layouts/page.html
new file mode 100644
index 0000000..f7d23e8
--- /dev/null
+++ b/_layouts/page.html
@@ -0,0 +1,14 @@
+---
+layout: default
+---
+
+<div id="main" role="main" class="main">
+<article class="page">
+
+ <h1>{{ page.title }}</h1>
+
+ <div class="entry">
+ {{ content }}
+ </div>
+</article>
+</div>
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..8847c06
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,93 @@
+---
+layout: default
+---
+
+<!-- The Lunar Journal -->
+<!-- Written by Dylan Müller, Copyright 2023 -->
+
+<script>
+MathJax = {
+options: {
+ enableMenu: false,
+ menuOptions: {
+ settings: {
+ renderer: 'CHTML',
+ assistiveMml: false,
+ collapsible: false,
+ explorer: false
+ }
+ }
+ }
+};
+</script>
+<script src="/assets/js/polyfill.min.js"></script>
+<script src="/assets/js/clipboard.js" defer></script>
+<script id="MathJax-script" src="/assets/js/tex-mml-chtml.js"></script>
+
+<div id="main" role="main" class="main">
+ <article class="post">
+ <h1 class="title">{{ page.title }}</h1>
+ <div class="ascii">
+ <pre>
+ _ _ _ _
+ (_) | | | | | |
+ _ ___ _ _ _ __ _ __ __ _| | | |_ _ _ __ __ _ _ __ ___| |__
+ | |/ _ \| | | | '__| '_ \ / _` | | | | | | | '_ \ / _` | '__/ __| '_ \
+ | | (_) | |_| | | | | | | (_| | |_| | |_| | | | | (_| | |_ \__ \ | | |
+ | |\___/ \__,_|_| |_| |_|\__,_|_(_)_|\__,_|_| |_|\__,_|_(_)|___/_| |_|
+ _/ |
+|__/
+ </pre>
+ </div>
+ <div class="date">
+ Written on {{ page.date | date: "%B %e, %Y" }}
+ </div>
+ <div class="author">
+ </div>
+ <div class="entry">
+ {{ content }}
+ </div>
+ </article>
+ <hr>
+<div class="ascii">
+ <pre>
+ _..._
+ .' '. _
+ / .-""-\ _/ \
+ .-| /:. | | |
+ | \ |:. /.-'-./
+ | .-'-;:__.' =/
+ .'= *=|NASA _.='
+ / _. | ;
+ ;-.-'| \ |
+/ | \ _\ _\
+\__/'._;. ==' ==\
+ \ \ |
+ / / /
+ /-._/-._/
+ jgs \ `\ \
+ `-._/._/
+ </pre>
+</div>
+</div>
+<div class="footer-container">
+ <div class="footer-content">
+ <p class="muted">
+ Questions, comments? Please send a plain-text email to <a href="mailto:root@lunar.sh">root@lunar.sh</a>
+ with a descriptive subject line and we will try get back to you!
+ </p>
+ <div>Copyright © 2022-2024</div>
+ <div class="reference">
+ <a href="{{ site.github_raw }}/{{ page.path }}">{{ page.path | split: '/' | last}}</a>
+ </div>
+ <div>
+ <a href="https://journal.lunar.sh/info.html">
+ <img class="greyscale" title="About Us" src="https://journal.lunar.sh/images/megafon.gif">
+ </a>
+ </div>
+ <div class="footer-love">
+ <strong>Developed</strong> with <i class="fas fa-heart"></i>
+ by <a href="https://labs.lunar.sh"><strong>Lunar RF Labs</strong></a>
+ </div>
+</div>
+</div>