diff --git a/TIPS b/TIPS index 1a86077..4953cd6 100644 --- a/TIPS +++ b/TIPS @@ -111,4 +111,20 @@ Tables: "LEdoian", "young", "Python" "Knuth", "older", "CWEB (IIRC)" +Images and Figures: + - Do not use .. image::, because that makes no wrapping element, using which we could center the image + - Usage:: + + .. figure:: {static}/images/some/path.ext + :width: 100% + :alt: Hello world + + This is a caption. + - Of course, using just the path is sufficient. + +Footnotes: + This is a text with an autonumberred[#fnlabel]_ footnote. + + .. [#fnlabel] And this is the text of the footnote, whereever I place it. + `reST spec `__ diff --git a/TODO b/TODO index 32c0007..a924c9f 100644 --- a/TODO +++ b/TODO @@ -2,6 +2,8 @@ - [ ] About-me page - [X] Sensible title page - [ ] Basic layout + - [ ] Article metadata (at least publish date) +- [ ] License # Later - [ ] RSS feed link @@ -12,6 +14,7 @@ - [ ] Add both variants of theme (light, dark) - [ ] Gemini export and hosting - [ ] Maybe pagination? +- [ ] Better theme (might evolve over time) # Content - My git workflow diff --git a/gen b/gen index 89e5f51..05921f9 100755 --- a/gen +++ b/gen @@ -1,5 +1,6 @@ #!/bin/sh +cd "$(dirname "$0")" python3 -c 'import pelican' 2>/dev/null || . env/bin/activate pelican "$@" diff --git a/output/archives.html b/output/archives.html new file mode 100644 index 0000000..2c3cb07 --- /dev/null +++ b/output/archives.html @@ -0,0 +1,58 @@ + + + + + + + + + + + + + Archive – LEdoian's Blog + + + +
+

LEdoian's Blog

+
+ +
+ + +
+
+

Archive

+
+
+
+
+ + + + + diff --git a/output/categories.html b/output/categories.html new file mode 100644 index 0000000..d1527a2 --- /dev/null +++ b/output/categories.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + TODO – LEdoian's Blog + + + +
+

LEdoian's Blog

+
+ +
+ + +
+
+
+
+
+ + + + + diff --git a/output/feeds/all.atom.xml b/output/feeds/all.atom.xml new file mode 100644 index 0000000..b2b39a2 --- /dev/null +++ b/output/feeds/all.atom.xml @@ -0,0 +1,2 @@ + +LEdoian's Bloghttps://blog.ledoian.cz/2023-03-08T13:25:28Z \ No newline at end of file diff --git a/output/index.html b/output/index.html new file mode 100644 index 0000000..b272a61 --- /dev/null +++ b/output/index.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + LEdoian's Blog + + + +
+

LEdoian's Blog

+
+ +
+ + +
+
+

Hello

+

I am LEdoian and this is my page. It is under construction as of +now.

+
+
+
+ + + + + diff --git a/output/tags.html b/output/tags.html new file mode 100644 index 0000000..d1527a2 --- /dev/null +++ b/output/tags.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + TODO – LEdoian's Blog + + + +
+

LEdoian's Blog

+
+ +
+ + +
+
+
+
+
+ + + + + diff --git a/output/theme/css/theme.css b/output/theme/css/theme.css new file mode 100644 index 0000000..c5941b7 --- /dev/null +++ b/output/theme/css/theme.css @@ -0,0 +1,73 @@ +body { + background-color: #003; + color: #5bf; + margin:auto; + /*max-width: 500px; + */ + padding-left: 20px; + padding-right: 20px; +} + +a { + color: #8df; + text-decoration-color: rgb(0, 209, 140); +} + +h1, h2, h3, h4, h5, h6 { + font-family: sans-serif; +} + +main { + border-radius: 0pt 15pt 0pt 0pt; + border-top: 1px solid; + border-right: 1px solid; + order: 1; + /* Four times wider than