1
0
Fork 0

Merge branch 'blog' into pub/forgetting-dns6

pub/forgetting-dns6
LEdoian 1 year ago
commit 832b2f2394

16
TIPS

@ -111,4 +111,20 @@ Tables:
"LEdoian", "young", "Python" "LEdoian", "young", "Python"
"Knuth", "older", "CWEB (IIRC)" "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 <https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#anonymous-hyperlinks>`__ `reST spec <https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#anonymous-hyperlinks>`__

@ -2,6 +2,8 @@
- [ ] About-me page - [ ] About-me page
- [X] Sensible title page - [X] Sensible title page
- [ ] Basic layout - [ ] Basic layout
- [ ] Article metadata (at least publish date)
- [ ] License
# Later # Later
- [ ] RSS feed link - [ ] RSS feed link
@ -12,6 +14,7 @@
- [ ] Add both variants of theme (light, dark) - [ ] Add both variants of theme (light, dark)
- [ ] Gemini export and hosting - [ ] Gemini export and hosting
- [ ] Maybe pagination? - [ ] Maybe pagination?
- [ ] Better theme (might evolve over time)
# Content # Content
- My git workflow - My git workflow

1
gen

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
cd "$(dirname "$0")"
python3 -c 'import pelican' 2>/dev/null || . env/bin/activate python3 -c 'import pelican' 2>/dev/null || . env/bin/activate
pelican "$@" pelican "$@"

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<meta name=generator content="Pelican 4.8.0">
<meta name=author content="LEdoian">
<meta name=description content="My personal webpage">
<meta name=referrer content=no-referrer>
<link rel=stylesheet href="./theme/css/theme.css">
<title>Archive LEdoian's Blog</title>
</head>
<body>
<header>
<h1>LEdoian's Blog</h1>
</header>
<div id=main>
<nav>
<div>
<!-- Main navigation -->
<!-- TODO! -->
</div>
<div>
<h2>Categories</h2>
<ul>
</ul>
<h2>Tags</h2>
<ul>
</ul>
</div>
<div>
<h2>Stalk me also at</h2>
TODO!
<h2>I stalk</h2>
TODO!
</nav>
<main>
<div>
<h1>Archive</h1>
<ul> </ul>
</div>
</main>
</div> <!-- #main -->
<footer>
<hr>
Written using Pelican 4.8.0 by LEdoian.
</footer>
</body>
</html>

@ -0,0 +1,56 @@
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<meta name=generator content="Pelican 4.8.0">
<meta name=author content="LEdoian">
<meta name=description content="My personal webpage">
<meta name=referrer content=no-referrer>
<link rel=stylesheet href="./theme/css/theme.css">
<title>TODO LEdoian's Blog</title>
</head>
<body>
<header>
<h1>LEdoian's Blog</h1>
</header>
<div id=main>
<nav>
<div>
<!-- Main navigation -->
<!-- TODO! -->
</div>
<div>
<h2>Categories</h2>
<ul>
</ul>
<h2>Tags</h2>
<ul>
</ul>
</div>
<div>
<h2>Stalk me also at</h2>
TODO!
<h2>I stalk</h2>
TODO!
</nav>
<main>
<div>
</div>
</main>
</div> <!-- #main -->
<footer>
<hr>
Written using Pelican 4.8.0 by LEdoian.
</footer>
</body>
</html>

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>LEdoian's Blog</title><link href="https://blog.ledoian.cz/" rel="alternate"></link><link href="https://blog.ledoian.cz/feeds/all.atom.xml" rel="self"></link><id>https://blog.ledoian.cz/</id><updated>2023-03-08T13:25:28Z</updated></feed>

@ -0,0 +1,59 @@
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<meta name=generator content="Pelican 4.8.0">
<meta name=author content="LEdoian">
<meta name=description content="My personal webpage">
<meta name=referrer content=no-referrer>
<link rel=stylesheet href="./theme/css/theme.css">
<title>LEdoian's Blog</title>
</head>
<body>
<header>
<h1>LEdoian's Blog</h1>
</header>
<div id=main>
<nav>
<div>
<!-- Main navigation -->
<!-- TODO! -->
</div>
<div>
<h2>Categories</h2>
<ul>
</ul>
<h2>Tags</h2>
<ul>
</ul>
</div>
<div>
<h2>Stalk me also at</h2>
TODO!
<h2>I stalk</h2>
TODO!
</nav>
<main>
<div>
<h1>Hello</h1>
<p>I am <strong>LEdoian</strong> and this is my page. It is under construction as of
now.</p>
</div>
</main>
</div> <!-- #main -->
<footer>
<hr>
Written using Pelican 4.8.0 by LEdoian.
</footer>
</body>
</html>

@ -0,0 +1,56 @@
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<meta name=generator content="Pelican 4.8.0">
<meta name=author content="LEdoian">
<meta name=description content="My personal webpage">
<meta name=referrer content=no-referrer>
<link rel=stylesheet href="./theme/css/theme.css">
<title>TODO LEdoian's Blog</title>
</head>
<body>
<header>
<h1>LEdoian's Blog</h1>
</header>
<div id=main>
<nav>
<div>
<!-- Main navigation -->
<!-- TODO! -->
</div>
<div>
<h2>Categories</h2>
<ul>
</ul>
<h2>Tags</h2>
<ul>
</ul>
</div>
<div>
<h2>Stalk me also at</h2>
TODO!
<h2>I stalk</h2>
TODO!
</nav>
<main>
<div>
</div>
</main>
</div> <!-- #main -->
<footer>
<hr>
Written using Pelican 4.8.0 by LEdoian.
</footer>
</body>
</html>

@ -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 <nav>, at base-size 300px*/
flex: 4 300px;
}
main > * {
margin: auto;
max-width: 700px;
}
nav {
order: 2;
float: right;
flex: 1 75px;
}
nav > * {
padding: 8px;
margin: 6px;
background-color: rgb(31, 18, 81);
border-radius: 12pt;
}
nav h2 {
font-size: 14pt;
}
#main {
display: flex;
flex-wrap: wrap;
}
footer {
text-align: right;
}
pre, tt {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 2pt;
}
pre {
padding: 3pt;
overflow-y: scroll;
}
tt {
padding-left: 1pt;
padding-right: 1pt;
}

@ -57,7 +57,8 @@ footer {
text-align: right; text-align: right;
} }
pre, tt { /* A fallback background for images with dark lines and transparent bg */
pre, tt, object, img {
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
border-radius: 2pt; border-radius: 2pt;
} }
@ -71,3 +72,15 @@ tt {
padding-left: 1pt; padding-left: 1pt;
padding-right: 1pt; padding-right: 1pt;
} }
.figure {
text-align: center;
}
p {
text-align: justify;
}
p.caption {
text-align: center;
}

Loading…
Cancel
Save