From e198638d3fbc3e3fd8783c92e284b87d65053ab6 Mon Sep 17 00:00:00 2001 From: Liliesh Date: Mon, 14 Jul 2025 20:27:09 +0200 Subject: [PATCH 1/3] Build update --- build/archive.html | 21 ++------- build/atom.xml | 37 +--------------- build/{tags/blag.html => first-entry.html} | 44 ++++++------------- build/index.html | 21 ++------- .../tags/{pygments.html => iliketomeow.html} | 11 +++-- build/tags/index.html | 7 +-- 6 files changed, 27 insertions(+), 114 deletions(-) rename build/{tags/blag.html => first-entry.html} (59%) rename build/tags/{pygments.html => iliketomeow.html} (78%) diff --git a/build/archive.html b/build/archive.html index 5dcfb20..dea558d 100644 --- a/build/archive.html +++ b/build/archive.html @@ -21,7 +21,6 @@
  • Blog

  • Archive

  • Tags

  • -
  • About Me

  • @@ -33,25 +32,11 @@
    - +
    -

    Second Post

    +

    First Entry

    -

    — This is the second blog post, so you can see how it looks like on the front page.

    - -
    -
    -
    - - - -
    -
    - -
    -

    Hello World!

    - -

    — Hello there, this is the first blog post. You should read me first.

    +

    — After around 1000 tries, here is another try on having a block.

    diff --git a/build/atom.xml b/build/atom.xml index 95cc330..02fdf91 100644 --- a/build/atom.xml +++ b/build/atom.xml @@ -1,37 +1,2 @@ -Liliesh's Bloghttps://liliesh.pinkhaj.world/blog/2023-01-02T12:00:00+00:00Second Post2023-01-02T12:00:00+00:002023-01-02T12:00:00+00:00Lilieshtag:liliesh.pinkhaj.world,2023-01-02:/blog/second-post.htmlThis is the second blog post, so you can see how it looks like on the front page.<h2>Second Post</h2> -<p>This page serves no purpose :)</p> -<p><img alt="Blag Screenshot" src="blag.png"></p>Hello World!2023-01-01T12:00:00+00:002023-01-01T12:00:00+00:00Lilieshtag:liliesh.pinkhaj.world,2023-01-01:/blog/hello-world.htmlHello there, this is the first blog post. You should read me first.<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> \ No newline at end of file +Liliesh's Bloghttps://liliesh.pinkhaj.world/blog/2025-07-14T20:11:00+00:00First Entry2025-07-14T20:11:00+00:002025-07-14T20:11:00+00:00Lilieshtag:liliesh.pinkhaj.world,2025-07-14:/blog/first-entry.htmlAfter around 1000 tries, here is another try on having a block. \ No newline at end of file diff --git a/build/tags/blag.html b/build/first-entry.html similarity index 59% rename from build/tags/blag.html rename to build/first-entry.html index 696e39f..f63b81e 100644 --- a/build/tags/blag.html +++ b/build/first-entry.html @@ -6,10 +6,10 @@ - + - #blag | + First Entry | @@ -21,7 +21,6 @@
  • Blog

  • Archive

  • Tags

  • -
  • About Me

  • @@ -29,37 +28,22 @@
    -

    Articles tagged "blag"

    + +

    First Entry

    + + +
    diff --git a/build/index.html b/build/index.html index 6c2ea92..ff8832a 100644 --- a/build/index.html +++ b/build/index.html @@ -21,7 +21,6 @@
  • Blog

  • Archive

  • Tags

  • -
  • About Me

  • @@ -33,25 +32,11 @@
    - +
    -

    Second Post

    +

    First Entry

    -

    — This is the second blog post, so you can see how it looks like on the front page.

    - -
    -
    -
    - - - -
    -
    - -
    -

    Hello World!

    - -

    — Hello there, this is the first blog post. You should read me first.

    +

    — After around 1000 tries, here is another try on having a block.

    diff --git a/build/tags/pygments.html b/build/tags/iliketomeow.html similarity index 78% rename from build/tags/pygments.html rename to build/tags/iliketomeow.html index f2bad6e..14f59c6 100644 --- a/build/tags/pygments.html +++ b/build/tags/iliketomeow.html @@ -9,7 +9,7 @@ - #pygments | + #iliketomeow | @@ -21,7 +21,6 @@
  • Blog

  • Archive

  • Tags

  • -
  • About Me

  • @@ -29,17 +28,17 @@
    -

    Articles tagged "pygments"

    +

    Articles tagged "iliketomeow"

    - +
    -

    Hello World!

    +

    First Entry

    -

    — Hello there, this is the first blog post. You should read me first.

    +

    — After around 1000 tries, here is another try on having a block.

    diff --git a/build/tags/index.html b/build/tags/index.html index 67fe115..2098beb 100644 --- a/build/tags/index.html +++ b/build/tags/index.html @@ -21,7 +21,6 @@
  • Blog

  • Archive

  • Tags

  • -
  • About Me

  • @@ -32,11 +31,7 @@ From b4be4c8ab42391a62764b228d1bcd87f8990cd23 Mon Sep 17 00:00:00 2001 From: Liliesh Date: Mon, 14 Jul 2025 20:27:33 +0200 Subject: [PATCH 2/3] Updated pages --- build/about.html | 49 --------------------- build/hello-world.html | 98 ------------------------------------------ build/second-post.html | 66 ---------------------------- build/testpage.html | 85 ------------------------------------ content/about.md | 6 --- content/first-entry.md | 11 +++++ content/hello-world.md | 51 ---------------------- content/second-post.md | 11 ----- content/testpage.md | 46 -------------------- templates/base.html | 1 - 10 files changed, 11 insertions(+), 413 deletions(-) delete mode 100644 build/about.html delete mode 100644 build/hello-world.html delete mode 100644 build/second-post.html delete mode 100644 build/testpage.html delete mode 100644 content/about.md create mode 100644 content/first-entry.md delete mode 100644 content/hello-world.md delete mode 100644 content/second-post.md delete mode 100644 content/testpage.md diff --git a/build/about.html b/build/about.html deleted file mode 100644 index 5771918..0000000 --- a/build/about.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - About Me | - - - -
    -

    Liliesh's Blog

    - -
    - -
    - - -

    About Me(ow)!

    - - -
    - - - - - \ No newline at end of file diff --git a/build/hello-world.html b/build/hello-world.html deleted file mode 100644 index dc1b4a4..0000000 --- a/build/hello-world.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - Hello World! | - - - -
    -

    Liliesh's Blog

    - -
    - -
    - - - -

    Hello World!

    - - - - -

    Hello World

    -

    This is an example blog post. Internally, blag differentiates between pages -and articles. 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 date metadata element: Any document that -contains the date metadata element is an article, everything else a page.

    -

    This differentiation has consequences:

    -
      -
    • blag uses different templates: page.html and article.html
    • -
    • only articles are collected in the Atom feed
    • -
    • only articles are aggregated in the tag pages
    • -
    -

    For more detailed information, please refer to the documentation

    -

    Syntax Highlighting

    -
    def foo(bar):
    -    """This is a docstring.
    -
    -    """
    -    # comment
    -    return bar
    -
    - -

    Syntax highlighting is done via Pygments. 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 Pygments’ -documentation.

    -

    Next Steps

    -
      -
    • Adapt the files in templates to your needs
    • -
    • Check out the files in static and modify as needed
    • -
    • Add some content
    • -
    • Change the favicon.ico
    • -
    - - -
    - - - - - \ No newline at end of file diff --git a/build/second-post.html b/build/second-post.html deleted file mode 100644 index cbf619a..0000000 --- a/build/second-post.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - Second Post | - - - -
    -

    Liliesh's Blog

    - -
    - -
    - - - -

    Second Post

    - - - - -

    Second Post

    -

    This page serves no purpose :)

    -

    Blag Screenshot

    - - -
    - - - - - \ No newline at end of file diff --git a/build/testpage.html b/build/testpage.html deleted file mode 100644 index 22b8b44..0000000 --- a/build/testpage.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - | - - - -
    -

    Liliesh's Blog

    - -
    - -
    - - -

    This Is A Headline

    -

    This is some bold text with some code inside. This is some_underlined -text with some code inside. This is some text with some code inside. This -is some text with some code inside. This is some text with some code -inside. This is some text with some code inside. This is some text with some -code inside. This is some text with some code inside.

    -

    This is some link inside the text – it does not really -lead anywhere! This is some link inside the text – it -does not really lead anywhere! This is some link inside -the text – it does not really lead anywhere!

    -
      -
    • some bullets
    • -
    • some other
    • -
    • bullets
    • -
    • foo
    • -
    -
    # this is some python code
    -
    -class Foo:
    -
    -    def __init__(self, foo, bar):
    -        self.foo = foo
    -        self.bar = bar
    -
    -    def do_something():
    -        """This is the docstring of this method.
    -
    -        """
    -        return foo
    -
    - -

    Some other headline

    -

    This is some other text

    -
    # some comment
    -foo:
    -    ls -lh
    -
    - - -
    - - - - - \ No newline at end of file diff --git a/content/about.md b/content/about.md deleted file mode 100644 index 24116c8..0000000 --- a/content/about.md +++ /dev/null @@ -1,6 +0,0 @@ -title: About Me -description: Some information about me - - -# About Me(ow)! - diff --git a/content/first-entry.md b/content/first-entry.md new file mode 100644 index 0000000..a01fae0 --- /dev/null +++ b/content/first-entry.md @@ -0,0 +1,11 @@ +Title: First Entry +Description: After around 1000 tries, here is another try on having a block. +Date: 2025-07-14 20:11 +Tags: iliketomeow + +# First Entry + +Well, here we go again. Another try on writing a blog. This time with a static site generator called "blag". +It allows me to write my entries in markdown and then converts to html. In the past, I often struggled keeping up a blog, due to the maintenance, since I did neither want a fully static site nor something like "Ghost". + +In the coming days I'm planning to write a blog post about how to setup your own music library at home and streaming it on the go. \ No newline at end of file diff --git a/content/hello-world.md b/content/hello-world.md deleted file mode 100644 index 7039dd9..0000000 --- a/content/hello-world.md +++ /dev/null @@ -1,51 +0,0 @@ -Title: Hello World! -Description: Hello there, this is the first blog post. You should read me first. -Date: 2023-01-01 12:00 -Tags: blag, pygments - - -## Hello World - -This is an example blog post. Internally, blag differentiates between **pages** -and **articles**. 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 `date` metadata element: Any document that -contains the `date` metadata element is an article, everything else a page. - -This differentiation has consequences: - -* blag uses different templates: `page.html` and `article.html` -* only articles are collected in the Atom feed -* only articles are aggregated in the tag pages - -For more detailed information, please refer to the [documentation][doc] - -[doc]: https://blag.readthedocs.io - - -### Syntax Highlighting - -```python -def foo(bar): - """This is a docstring. - - """ - # comment - return bar -``` - -Syntax highlighting is done via [Pygments][pygments]. 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 [Pygments' -documentation][pygments]. - -[pygments]: https://pygments.org - - -### Next Steps - -* Adapt the files in `templates` to your needs -* Check out the files in `static` and modify as needed -* Add some content -* Change the [favicon.ico](favicon.ico) diff --git a/content/second-post.md b/content/second-post.md deleted file mode 100644 index 354fac5..0000000 --- a/content/second-post.md +++ /dev/null @@ -1,11 +0,0 @@ -Title: Second Post -Description: This is the second blog post, so you can see how it looks like on the front page. -Date: 2023-01-02 12:00 -Tags: blag - - -## Second Post - -This page serves no purpose :) - -![Blag Screenshot](blag.png) diff --git a/content/testpage.md b/content/testpage.md deleted file mode 100644 index 24fe02b..0000000 --- a/content/testpage.md +++ /dev/null @@ -1,46 +0,0 @@ -# This Is A Headline - -This is some **bold text** with some `code` inside. This is _some_underlined_ -text with some `code` inside. This is some text with some `code` inside. This -is some text with some `code` inside. This is some text with some `code` -inside. This is some text with some `code` inside. This is some text with some -`code` inside. This is some text with some `code` inside. - -This is some [link](https://example.com) inside the text -- it does not really -lead anywhere! This is some [link](https://example.com) inside the text -- it -does not really lead anywhere! This is some [link](https://example.com) inside -the text -- it does not really lead anywhere! - - -* some bullets -* some other - * bullets - * foo - -```python -# this is some python code - -class Foo: - - def __init__(self, foo, bar): - self.foo = foo - self.bar = bar - - def do_something(): - """This is the docstring of this method. - - """ - return foo -``` - - -## Some other headline - -This is some other text - -```makefile - -# some comment -foo: - ls -lh -``` diff --git a/templates/base.html b/templates/base.html index f1f8811..02e810e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,7 +25,6 @@
  • Blog

  • Archive

  • Tags

  • -
  • About Me

  • From 476f8738defbfc4265610765df3ea6bafcfde316 Mon Sep 17 00:00:00 2001 From: Liliesh Date: Mon, 14 Jul 2025 20:27:40 +0200 Subject: [PATCH 3/3] Compile page --- build/atom.xml | 5 ++++- build/first-entry.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build/atom.xml b/build/atom.xml index 02fdf91..0d45e7e 100644 --- a/build/atom.xml +++ b/build/atom.xml @@ -1,2 +1,5 @@ -Liliesh's Bloghttps://liliesh.pinkhaj.world/blog/2025-07-14T20:11:00+00:00First Entry2025-07-14T20:11:00+00:002025-07-14T20:11:00+00:00Lilieshtag:liliesh.pinkhaj.world,2025-07-14:/blog/first-entry.htmlAfter around 1000 tries, here is another try on having a block. \ No newline at end of file +Liliesh's Bloghttps://liliesh.pinkhaj.world/blog/2025-07-14T20:11:00+00:00First Entry2025-07-14T20:11:00+00:002025-07-14T20:11:00+00:00Lilieshtag:liliesh.pinkhaj.world,2025-07-14:/blog/first-entry.htmlAfter around 1000 tries, here is another try on having a block.<h1>First Entry</h1> +<p>Well, here we go again. Another try on writing a blog. This time with a static site generator called &ldquo;blag&rdquo;. +It allows me to write my entries in markdown and then converts to html. In the past, I often struggled keeping up a blog, due to the maintenance, since I did neither want a fully static site nor something like &ldquo;Ghost&rdquo;.</p> +<p>In the coming days I&rsquo;m planning to write a blog post about how to setup your own music library at home and streaming it on the go.</p> \ No newline at end of file diff --git a/build/first-entry.html b/build/first-entry.html index f63b81e..38cca52 100644 --- a/build/first-entry.html +++ b/build/first-entry.html @@ -43,7 +43,10 @@

    - +

    First Entry

    +

    Well, here we go again. Another try on writing a blog. This time with a static site generator called “blag”. +It allows me to write my entries in markdown and then converts to html. In the past, I often struggled keeping up a blog, due to the maintenance, since I did neither want a fully static site nor something like “Ghost”.

    +

    In the coming days I’m planning to write a blog post about how to setup your own music library at home and streaming it on the go.