diff --git a/build/about.html b/build/about.html new file mode 100644 index 0000000..5771918 --- /dev/null +++ b/build/about.html @@ -0,0 +1,49 @@ + + + + + + + + + + + + About Me | + + + +
+

Liliesh's Blog

+ +
+ +
+ + +

About Me(ow)!

+ + +
+ + + + + \ No newline at end of file diff --git a/build/archive.html b/build/archive.html index dea558d..5dcfb20 100644 --- a/build/archive.html +++ b/build/archive.html @@ -21,6 +21,7 @@
  • Blog

  • Archive

  • Tags

  • +
  • About Me

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

    First Entry

    +

    Second Post

    -

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

    +

    — 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.

    diff --git a/build/atom.xml b/build/atom.xml index 0d45e7e..95cc330 100644 --- a/build/atom.xml +++ b/build/atom.xml @@ -1,5 +1,37 @@ -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 +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 diff --git a/build/hello-world.html b/build/hello-world.html new file mode 100644 index 0000000..dc1b4a4 --- /dev/null +++ b/build/hello-world.html @@ -0,0 +1,98 @@ + + + + + + + + + + + + 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:

    + +

    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

    + + + +
    + + + + + \ No newline at end of file diff --git a/build/index.html b/build/index.html index ff8832a..6c2ea92 100644 --- a/build/index.html +++ b/build/index.html @@ -21,6 +21,7 @@
  • Blog

  • Archive

  • Tags

  • +
  • About Me

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

    First Entry

    +

    Second Post

    -

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

    +

    — 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.

    diff --git a/build/first-entry.html b/build/second-post.html similarity index 61% rename from build/first-entry.html rename to build/second-post.html index 38cca52..cbf619a 100644 --- a/build/first-entry.html +++ b/build/second-post.html @@ -6,10 +6,10 @@ - + - First Entry | + Second Post | @@ -21,6 +21,7 @@
  • Blog

  • Archive

  • Tags

  • +
  • About Me

  • @@ -29,24 +30,23 @@ -

    First Entry

    +

    Second Post

    -

    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.

    +

    Second Post

    +

    This page serves no purpose :)

    +

    Blag Screenshot

    diff --git a/build/tags/blag.html b/build/tags/blag.html new file mode 100644 index 0000000..696e39f --- /dev/null +++ b/build/tags/blag.html @@ -0,0 +1,79 @@ + + + + + + + + + + + + #blag | + + + +
    +

    Liliesh's Blog

    + +
    + +
    + + +

    Articles tagged "blag"

    + + + +
    +
    + +
    +

    Second Post

    + +

    — 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.

    + +
    +
    +
    + + + + +
    + + + + + \ No newline at end of file diff --git a/build/tags/index.html b/build/tags/index.html index 2098beb..67fe115 100644 --- a/build/tags/index.html +++ b/build/tags/index.html @@ -21,6 +21,7 @@
  • Blog

  • Archive

  • Tags

  • +
  • About Me

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

  • Archive

  • Tags

  • +
  • About Me

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

    Articles tagged "iliketomeow"

    +

    Articles tagged "pygments"

    - +
    -

    First Entry

    +

    Hello World!

    -

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

    +

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

    diff --git a/build/testpage.html b/build/testpage.html new file mode 100644 index 0000000..22b8b44 --- /dev/null +++ b/build/testpage.html @@ -0,0 +1,85 @@ + + + + + + + + + + + + | + + + +
    +

    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 new file mode 100644 index 0000000..24116c8 --- /dev/null +++ b/content/about.md @@ -0,0 +1,6 @@ +title: About Me +description: Some information about me + + +# About Me(ow)! + diff --git a/content/first-entry.md b/content/first-entry.md deleted file mode 100644 index a01fae0..0000000 --- a/content/first-entry.md +++ /dev/null @@ -1,11 +0,0 @@ -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 new file mode 100644 index 0000000..7039dd9 --- /dev/null +++ b/content/hello-world.md @@ -0,0 +1,51 @@ +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 new file mode 100644 index 0000000..354fac5 --- /dev/null +++ b/content/second-post.md @@ -0,0 +1,11 @@ +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 new file mode 100644 index 0000000..24fe02b --- /dev/null +++ b/content/testpage.md @@ -0,0 +1,46 @@ +# 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 02e810e..f1f8811 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,6 +25,7 @@
  • Blog

  • Archive

  • Tags

  • +
  • About Me