Build update
This commit is contained in:
parent
9206d3572f
commit
e198638d3f
6 changed files with 27 additions and 114 deletions
|
@ -21,7 +21,6 @@
|
||||||
<li><h2><a href="/blog">Blog</a></h2></li>
|
<li><h2><a href="/blog">Blog</a></h2></li>
|
||||||
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
||||||
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
||||||
<li><h2><a href="/blog/about.html">About Me</a></h2></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
@ -33,25 +32,11 @@
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<time datetime="2023-01-02 12:00:00+00:00">2023-01-02</time>
|
<time datetime="2025-07-14 20:11:00+00:00">2025-07-14</time>
|
||||||
<div>
|
<div>
|
||||||
<h2><a href="second-post.html">Second Post</a></h2>
|
<h2><a href="first-entry.html">First Entry</a></h2>
|
||||||
|
|
||||||
<p>— This is the second blog post, so you can see how it looks like on the front page.</p>
|
<p>— After around 1000 tries, here is another try on having a block.</p>
|
||||||
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
<header>
|
|
||||||
<time datetime="2023-01-01 12:00:00+00:00">2023-01-01</time>
|
|
||||||
<div>
|
|
||||||
<h2><a href="hello-world.html">Hello World!</a></h2>
|
|
||||||
|
|
||||||
<p>— Hello there, this is the first blog post. You should read me first.</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -1,37 +1,2 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>Liliesh's Blog</title><link href="https://liliesh.pinkhaj.world/blog/" rel="alternate"></link><link href="https://liliesh.pinkhaj.world/blog/atom.xml" rel="self"></link><id>https://liliesh.pinkhaj.world/blog/</id><updated>2023-01-02T12:00:00+00:00</updated><entry><title>Second Post</title><link href="https://liliesh.pinkhaj.world/blog/second-post.html" rel="alternate"></link><published>2023-01-02T12:00:00+00:00</published><updated>2023-01-02T12:00:00+00:00</updated><author><name>Liliesh</name></author><id>tag:liliesh.pinkhaj.world,2023-01-02:/blog/second-post.html</id><summary type="html">This is the second blog post, so you can see how it looks like on the front page.</summary><content type="html"><h2>Second Post</h2>
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Liliesh's Blog</title><link href="https://liliesh.pinkhaj.world/blog/" rel="alternate"></link><link href="https://liliesh.pinkhaj.world/blog/atom.xml" rel="self"></link><id>https://liliesh.pinkhaj.world/blog/</id><updated>2025-07-14T20:11:00+00:00</updated><entry><title>First Entry</title><link href="https://liliesh.pinkhaj.world/blog/first-entry.html" rel="alternate"></link><published>2025-07-14T20:11:00+00:00</published><updated>2025-07-14T20:11:00+00:00</updated><author><name>Liliesh</name></author><id>tag:liliesh.pinkhaj.world,2025-07-14:/blog/first-entry.html</id><summary type="html">After around 1000 tries, here is another try on having a block.</summary><content type="html"></content></entry></feed>
|
||||||
<p>This page serves no purpose :)</p>
|
|
||||||
<p><img alt="Blag Screenshot" src="blag.png"></p></content></entry><entry><title>Hello World!</title><link href="https://liliesh.pinkhaj.world/blog/hello-world.html" rel="alternate"></link><published>2023-01-01T12:00:00+00:00</published><updated>2023-01-01T12:00:00+00:00</updated><author><name>Liliesh</name></author><id>tag:liliesh.pinkhaj.world,2023-01-01:/blog/hello-world.html</id><summary type="html">Hello there, this is the first blog post. You should read me first.</summary><content type="html"><h2>Hello World</h2>
|
|
||||||
<p>This is an example blog post. Internally, blag differentiates between <strong>pages</strong>
|
|
||||||
and <strong>articles</strong>. Intuitively, pages are simple pages and articles are blog
|
|
||||||
posts. The decision whether a document is a page or an article is made
|
|
||||||
depending on the presence of the <code>date</code> metadata element: Any document that
|
|
||||||
contains the <code>date</code> metadata element is an article, everything else a page.</p>
|
|
||||||
<p>This differentiation has consequences:</p>
|
|
||||||
<ul>
|
|
||||||
<li>blag uses different templates: <code>page.html</code> and <code>article.html</code></li>
|
|
||||||
<li>only articles are collected in the Atom feed</li>
|
|
||||||
<li>only articles are aggregated in the tag pages</li>
|
|
||||||
</ul>
|
|
||||||
<p>For more detailed information, please refer to the <a href="https://blag.readthedocs.io">documentation</a></p>
|
|
||||||
<h3>Syntax Highlighting</h3>
|
|
||||||
<div class="codehilite"><pre><span></span><code><span class="k">def</span><span class="w"> </span><span class="nf">foo</span><span class="p">(</span><span class="n">bar</span><span class="p">):</span>
|
|
||||||
<span class="w"> </span><span class="sd">&quot;&quot;&quot;This is a docstring.</span>
|
|
||||||
|
|
||||||
<span class="sd"> &quot;&quot;&quot;</span>
|
|
||||||
<span class="c1"># comment</span>
|
|
||||||
<span class="k">return</span> <span class="n">bar</span>
|
|
||||||
</code></pre></div>
|
|
||||||
|
|
||||||
<p>Syntax highlighting is done via <a href="https://pygments.org">Pygments</a>. For code blocks, blag
|
|
||||||
generates the necessary CSS classes by default, which you can use to style your
|
|
||||||
code using CSS. It provides you with a default light- and dark theme, for more
|
|
||||||
information on how to generate a different theme, please refer to <a href="https://pygments.org">Pygments&rsquo;
|
|
||||||
documentation</a>.</p>
|
|
||||||
<h3>Next Steps</h3>
|
|
||||||
<ul>
|
|
||||||
<li>Adapt the files in <code>templates</code> to your needs</li>
|
|
||||||
<li>Check out the files in <code>static</code> and modify as needed</li>
|
|
||||||
<li>Add some content</li>
|
|
||||||
<li>Change the <a href="favicon.ico">favicon.ico</a></li>
|
|
||||||
</ul></content></entry></feed>
|
|
|
@ -6,10 +6,10 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light dark">
|
||||||
<meta name="author" content="Liliesh">
|
<meta name="author" content="Liliesh">
|
||||||
<meta name="description" content="">
|
<meta name="description" content="After around 1000 tries, here is another try on having a block.">
|
||||||
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml">
|
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml">
|
||||||
<link rel="stylesheet" href="/blog/style.css" type="text/css">
|
<link rel="stylesheet" href="/blog/style.css" type="text/css">
|
||||||
<title>#blag | </title>
|
<title>First Entry | </title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -21,7 +21,6 @@
|
||||||
<li><h2><a href="/blog">Blog</a></h2></li>
|
<li><h2><a href="/blog">Blog</a></h2></li>
|
||||||
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
||||||
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
||||||
<li><h2><a href="/blog/about.html">About Me</a></h2></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
@ -29,35 +28,20 @@
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
|
|
||||||
<h2>Articles tagged "blag"</h2>
|
|
||||||
|
<h2>First Entry</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<aside>
|
||||||
<article>
|
<p>published on 2025-07-14
|
||||||
<header>
|
|
||||||
<time datetime="2023-01-02 12:00:00+00:00">2023-01-02</time>
|
|
||||||
<div>
|
|
||||||
<h2><a href="../second-post.html">Second Post</a></h2>
|
|
||||||
|
|
||||||
<p>— This is the second blog post, so you can see how it looks like on the front page.</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
· tagged with
|
||||||
|
|
||||||
<article>
|
<a href="/blog/tags/iliketomeow.html">#iliketomeow</a>
|
||||||
<header>
|
|
||||||
<time datetime="2023-01-01 12:00:00+00:00">2023-01-01</time>
|
|
||||||
<div>
|
|
||||||
<h2><a href="../hello-world.html">Hello World!</a></h2>
|
|
||||||
|
|
||||||
<p>— Hello there, this is the first blog post. You should read me first.</p>
|
</p>
|
||||||
|
</aside>
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
<li><h2><a href="/blog">Blog</a></h2></li>
|
<li><h2><a href="/blog">Blog</a></h2></li>
|
||||||
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
||||||
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
||||||
<li><h2><a href="/blog/about.html">About Me</a></h2></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
@ -33,25 +32,11 @@
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<time datetime="2023-01-02 12:00:00+00:00">2023-01-02</time>
|
<time datetime="2025-07-14 20:11:00+00:00">2025-07-14</time>
|
||||||
<div>
|
<div>
|
||||||
<h2><a href="second-post.html">Second Post</a></h2>
|
<h2><a href="first-entry.html">First Entry</a></h2>
|
||||||
|
|
||||||
<p>— This is the second blog post, so you can see how it looks like on the front page.</p>
|
<p>— After around 1000 tries, here is another try on having a block.</p>
|
||||||
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
<header>
|
|
||||||
<time datetime="2023-01-01 12:00:00+00:00">2023-01-01</time>
|
|
||||||
<div>
|
|
||||||
<h2><a href="hello-world.html">Hello World!</a></h2>
|
|
||||||
|
|
||||||
<p>— Hello there, this is the first blog post. You should read me first.</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml">
|
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml">
|
||||||
<link rel="stylesheet" href="/blog/style.css" type="text/css">
|
<link rel="stylesheet" href="/blog/style.css" type="text/css">
|
||||||
<title>#pygments | </title>
|
<title>#iliketomeow | </title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -21,7 +21,6 @@
|
||||||
<li><h2><a href="/blog">Blog</a></h2></li>
|
<li><h2><a href="/blog">Blog</a></h2></li>
|
||||||
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
||||||
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
||||||
<li><h2><a href="/blog/about.html">About Me</a></h2></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
@ -29,17 +28,17 @@
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
|
|
||||||
<h2>Articles tagged "pygments"</h2>
|
<h2>Articles tagged "iliketomeow"</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<time datetime="2023-01-01 12:00:00+00:00">2023-01-01</time>
|
<time datetime="2025-07-14 20:11:00+00:00">2025-07-14</time>
|
||||||
<div>
|
<div>
|
||||||
<h2><a href="../hello-world.html">Hello World!</a></h2>
|
<h2><a href="../first-entry.html">First Entry</a></h2>
|
||||||
|
|
||||||
<p>— Hello there, this is the first blog post. You should read me first.</p>
|
<p>— After around 1000 tries, here is another try on having a block.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
|
@ -21,7 +21,6 @@
|
||||||
<li><h2><a href="/blog">Blog</a></h2></li>
|
<li><h2><a href="/blog">Blog</a></h2></li>
|
||||||
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
<li><h2><a href="/blog/archive.html">Archive</a></h2></li>
|
||||||
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
<li><h2><a href="/blog/tags/">Tags</a></h2></li>
|
||||||
<li><h2><a href="/blog/about.html">About Me</a></h2></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
@ -32,11 +31,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="blag.html">blag (2 articles)</a>
|
<a href="iliketomeow.html">iliketomeow (1 articles)</a>
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="pygments.html">pygments (1 articles)</a>
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue