init
This commit is contained in:
1529
src/assets/style.css
Normal file
1529
src/assets/style.css
Normal file
File diff suppressed because it is too large
Load Diff
2
src/footer.th
Normal file
2
src/footer.th
Normal file
@@ -0,0 +1,2 @@
|
||||
</body>
|
||||
</html>
|
||||
6
src/header.th
Normal file
6
src/header.th
Normal file
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>My Homepage</title>
|
||||
<link rel="stylesheet" href="https://classless.de/classless.css">
|
||||
</head>
|
||||
<body>
|
||||
18
src/index.ps
Normal file
18
src/index.ps
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/ksh
|
||||
|
||||
echo "<h1>CODEVOID</h1>
|
||||
|
||||
<h2>Posts</h2>
|
||||
|
||||
<ol>"
|
||||
|
||||
cd src/posts
|
||||
ls -1 | while read line
|
||||
do
|
||||
echo "<li><a href=\"posts/${line%%.*}.html\">${line%%.*}</a></li>"
|
||||
done
|
||||
|
||||
|
||||
echo "</ol>"
|
||||
|
||||
|
||||
14
src/posts/2023-10-22-Hello-World-md.pm
Normal file
14
src/posts/2023-10-22-Hello-World-md.pm
Normal file
@@ -0,0 +1,14 @@
|
||||
# Hello World!
|
||||
|
||||
This is a test page written im Markdown. It's quite easy to write `code` examples.
|
||||
It even has code blocks
|
||||
|
||||
```
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("Hello World!\n");
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
12
src/posts/2023-10-23-Hello-World-sh.ps
Normal file
12
src/posts/2023-10-23-Hello-World-sh.ps
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/ksh
|
||||
|
||||
echo "<h1>Hello World (shell version)</h1>"
|
||||
echo "This page is generated by a shell script."
|
||||
echo "<br><br>"
|
||||
echo "<b>Here's a tree:</b><br>"
|
||||
echo "<pre>"
|
||||
tree | while read line
|
||||
do
|
||||
echo "$line"
|
||||
done
|
||||
echo "</pre>"
|
||||
34
src/posts/2023-10-24-Hello-World-adoc.pa
Normal file
34
src/posts/2023-10-24-Hello-World-adoc.pa
Normal file
@@ -0,0 +1,34 @@
|
||||
= Hello World, adoc version!
|
||||
|
||||
Ahh, the full blown super duper asciidoctor with diagram support.
|
||||
|
||||
So, this:
|
||||
[source,graphviz]
|
||||
----
|
||||
[graphviz, "dot_example", "svg"]
|
||||
\----
|
||||
graph ethane {
|
||||
C_0 -- H_0 [type=s];
|
||||
C_0 -- H_1 [type=s];
|
||||
C_0 -- H_2 [type=s];
|
||||
C_0 -- C_1 [type=s];
|
||||
C_1 -- H_3 [type=s];
|
||||
C_1 -- H_4 [type=s];
|
||||
C_1 -- H_5 [type=s];
|
||||
\----
|
||||
----
|
||||
|
||||
Generates this:
|
||||
[graphviz, "dot_example", "svg"]
|
||||
----
|
||||
graph ethane {
|
||||
C_0 -- H_0 [type=s];
|
||||
C_0 -- H_1 [type=s];
|
||||
C_0 -- H_2 [type=s];
|
||||
C_0 -- C_1 [type=s];
|
||||
C_1 -- H_3 [type=s];
|
||||
C_1 -- H_4 [type=s];
|
||||
C_1 -- H_5 [type=s];
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user