Initial site of temporary Solarpunk City website
This commit is contained in:
commit
70876f195f
114
.gitignore
vendored
Normal file
114
.gitignore
vendored
Normal file
|
@ -0,0 +1,114 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
.hypothesis/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# celery beat schedule file
|
||||
celerybeat-schedule
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
|
||||
# Editor
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# DB
|
||||
db.sqlite3
|
||||
|
||||
# Test mount
|
||||
test/
|
||||
|
||||
# VS Code
|
||||
.vscode/
|
||||
|
||||
output/
|
11
content/.obsidian/app.json
vendored
Normal file
11
content/.obsidian/app.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"spellcheck": true,
|
||||
"autoPairBrackets": false,
|
||||
"autoPairMarkdown": false,
|
||||
"vimMode": true,
|
||||
"useMarkdownLinks": false,
|
||||
"attachmentFolderPath": "media",
|
||||
"alwaysUpdateLinks": true,
|
||||
"legacyEditor": false,
|
||||
"promptDelete": false
|
||||
}
|
4
content/.obsidian/appearance.json
vendored
Normal file
4
content/.obsidian/appearance.json
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"theme": "moonstone",
|
||||
"baseFontSize": 16
|
||||
}
|
15
content/.obsidian/core-plugins.json
vendored
Normal file
15
content/.obsidian/core-plugins.json
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
[
|
||||
"file-explorer",
|
||||
"global-search",
|
||||
"switcher",
|
||||
"graph",
|
||||
"backlink",
|
||||
"page-preview",
|
||||
"note-composer",
|
||||
"command-palette",
|
||||
"editor-status",
|
||||
"markdown-importer",
|
||||
"outline",
|
||||
"word-count",
|
||||
"file-recovery"
|
||||
]
|
22
content/.obsidian/graph.json
vendored
Normal file
22
content/.obsidian/graph.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"collapse-filter": true,
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": true,
|
||||
"collapse-color-groups": true,
|
||||
"colorGroups": [],
|
||||
"collapse-display": true,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 3.32478632478632,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.518713248970312,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 0.9044367002205442,
|
||||
"close": true
|
||||
}
|
1
content/.obsidian/hotkeys.json
vendored
Normal file
1
content/.obsidian/hotkeys.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
113
content/.obsidian/workspace
vendored
Normal file
113
content/.obsidian/workspace
vendored
Normal file
|
@ -0,0 +1,113 @@
|
|||
{
|
||||
"main": {
|
||||
"id": "69e9da393623ab60",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "160122bd13ae4b72",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Helios Alpha.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "3885f82c1ab72e1b",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "0e37795504669957",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "e5f5df16367f5f9a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "15b64333baa0fbc2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "260bba8f76f307a9",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "21c556d6660f839b",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "528c8f9657044ea2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Helios Alpha.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "79f3ff4100fe3ae6",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Helios Alpha.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"active": "e5f5df16367f5f9a",
|
||||
"lastOpenFiles": [
|
||||
"media/dress1.jpg",
|
||||
"pages/creations.md",
|
||||
"pages/projects.md",
|
||||
"pages/writing.md",
|
||||
"Hydroponics.md",
|
||||
"Backup Strategy.md",
|
||||
"Acoustic Panels.md",
|
||||
"About.md",
|
||||
"Helios Alpha.md",
|
||||
"Fake Dog.md"
|
||||
]
|
||||
}
|
6
content/Helios Alpha.md
Normal file
6
content/Helios Alpha.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
Title: Helios Alpha
|
||||
Date: 2023-03-06
|
||||
Category: Designs
|
||||
Summary: A one-tank Kratky hydroponics design
|
||||
|
||||
Content here
|
1
content/extra/favicon.svg
Normal file
1
content/extra/favicon.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">🏴☠️</text></svg>
|
After Width: | Height: | Size: 119 B |
2
content/extra/robots.txt
Normal file
2
content/extra/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow:
|
166
logo/logo.svg
Normal file
166
logo/logo.svg
Normal file
|
@ -0,0 +1,166 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="95.499756mm"
|
||||
height="16.116993mm"
|
||||
viewBox="0 0 95.499756 16.116993"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
|
||||
sodipodi:docname="logo.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.4948513"
|
||||
inkscape:cx="189.31649"
|
||||
inkscape:cy="82.282432"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="text291" />
|
||||
<defs
|
||||
id="defs2">
|
||||
<rect
|
||||
x="68.310822"
|
||||
y="32.805908"
|
||||
width="673.89819"
|
||||
height="146.4996"
|
||||
id="rect285" />
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-54.980671,-31.784372)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text283"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:Comfortaa;-inkscape-font-specification:Comfortaa;white-space:pre;shape-inside:url(#rect285);fill:#000000;fill-opacity:1;stroke:none" />
|
||||
<g
|
||||
aria-label="SOLARPUNK CITY"
|
||||
id="text291"
|
||||
style="font-size:10.5833px;line-height:1.25;stroke-width:0.264583"
|
||||
transform="translate(12.422372,17.443701)">
|
||||
<path
|
||||
d="m 45.503279,26.58724 q -0.677331,0 -1.259413,-0.190499 -0.571498,-0.201083 -0.99483,-0.560915 -0.423332,-0.359832 -0.645581,-0.836081 -0.08467,-0.169333 -0.01058,-0.306915 0.08467,-0.148167 0.275166,-0.201083 0.148166,-0.04233 0.285749,0.03175 0.148166,0.07408 0.222249,0.222249 0.15875,0.306916 0.465666,0.550332 0.306915,0.243415 0.730247,0.380998 0.423332,0.127 0.931331,0.127 0.560915,0 0.99483,-0.179916 0.433915,-0.190499 0.677331,-0.539748 0.253999,-0.359833 0.253999,-0.867831 0,-0.645581 -0.476248,-1.111246 -0.476249,-0.465666 -1.492246,-0.592665 -1.238246,-0.148166 -1.936743,-0.761998 -0.698498,-0.624414 -0.698498,-1.523995 0,-0.645581 0.338665,-1.12183 0.349249,-0.476248 0.952497,-0.730247 0.603249,-0.264583 1.386413,-0.264583 0.582081,0 1.05833,0.1905 0.476248,0.179916 0.825497,0.486831 0.359832,0.296333 0.582082,0.656165 0.105833,0.169333 0.0635,0.328082 -0.03175,0.15875 -0.179916,0.243416 -0.158749,0.07408 -0.328082,0.02117 -0.15875,-0.05292 -0.243416,-0.201083 -0.158749,-0.243416 -0.402165,-0.455082 -0.232833,-0.222249 -0.571499,-0.349249 -0.338665,-0.126999 -0.814914,-0.137583 -0.83608,0 -1.344079,0.359833 -0.507998,0.349248 -0.507998,1.02658 0,0.359832 0.190499,0.666747 0.1905,0.296333 0.624415,0.518582 0.444499,0.211666 1.18533,0.317499 1.322912,0.1905 1.95791,0.814914 0.645581,0.613832 0.645581,1.608662 0,0.571498 -0.211666,1.015997 -0.201082,0.444498 -0.582081,0.751414 -0.370416,0.296332 -0.878414,0.455082 -0.497415,0.158749 -1.068913,0.158749 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1132" />
|
||||
<path
|
||||
d="m 53.790009,26.58724 q -0.920747,0 -1.693328,-0.317499 -0.772581,-0.317499 -1.344079,-0.888997 -0.560915,-0.571498 -0.878414,-1.344079 -0.306915,-0.772581 -0.306915,-1.693328 0,-0.910164 0.306915,-1.682745 0.317499,-0.772581 0.878414,-1.344079 0.571498,-0.571498 1.344079,-0.888997 0.772581,-0.317499 1.693328,-0.317499 0.910164,0 1.682745,0.317499 0.772581,0.317499 1.344079,0.888997 0.571498,0.571498 0.878414,1.344079 0.317499,0.772581 0.317499,1.682745 0,0.920747 -0.317499,1.693328 -0.306916,0.772581 -0.878414,1.344079 -0.571498,0.571498 -1.344079,0.888997 -0.772581,0.317499 -1.682745,0.317499 z m 0,-0.783164 q 0.730248,0 1.354663,-0.253999 0.624414,-0.264583 1.079496,-0.730248 0.465665,-0.476248 0.719664,-1.100663 0.254,-0.634998 0.254,-1.375829 0,-0.730248 -0.254,-1.354662 -0.253999,-0.634998 -0.719664,-1.100664 -0.455082,-0.476248 -1.079496,-0.730247 -0.624415,-0.264583 -1.354663,-0.264583 -0.740831,0 -1.365246,0.264583 -0.624414,0.253999 -1.090079,0.730247 -0.455082,0.465666 -0.709081,1.100664 -0.254,0.624414 -0.254,1.354662 0,0.740831 0.254,1.375829 0.253999,0.624415 0.709081,1.100663 0.465665,0.465665 1.090079,0.730248 0.624415,0.253999 1.365246,0.253999 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1134" />
|
||||
<path
|
||||
d="m 60.1294,26.481407 q -0.169333,0 -0.296332,-0.116416 -0.116417,-0.116416 -0.116417,-0.296333 v -7.440059 q 0,-0.169333 0.116417,-0.285749 0.126999,-0.127 0.296332,-0.127 0.169333,0 0.285749,0.127 0.127,0.116416 0.127,0.285749 v 7.069644 h 4.13807 q 0.169333,0 0.285749,0.116416 0.127,0.105833 0.127,0.275166 0,0.169333 -0.127,0.285749 -0.116416,0.105833 -0.285749,0.105833 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1136" />
|
||||
<path
|
||||
d="m 65.960792,26.481407 q -0.243416,0 -0.349249,-0.201083 -0.105833,-0.201082 -0.02117,-0.391582 l 3.11149,-7.387143 q 0.116416,-0.285749 0.402165,-0.285749 0.275166,0 0.391582,0.285749 l 3.122073,7.397727 q 0.09525,0.201082 -0.03175,0.391582 -0.116417,0.190499 -0.338666,0.190499 -0.127,0 -0.232833,-0.0635 -0.09525,-0.0635 -0.158749,-0.190499 l -2.910407,-7.059061 h 0.328082 l -2.931574,7.059061 q -0.05292,0.127 -0.15875,0.190499 -0.09525,0.0635 -0.222249,0.0635 z m 0.698498,-1.968494 0.317499,-0.709081 h 4.296819 l 0.317499,0.709081 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1138" />
|
||||
<path
|
||||
d="m 74.268675,26.481407 q -0.179916,0 -0.296333,-0.116416 -0.116416,-0.116416 -0.116416,-0.296333 v -7.440059 q 0,-0.179916 0.116416,-0.296333 0.116417,-0.116416 0.296333,-0.116416 h 1.979077 q 0.772581,0 1.375829,0.328082 0.603248,0.317499 0.941913,0.899581 0.349249,0.571498 0.349249,1.322912 0,0.719665 -0.349249,1.28058 -0.338665,0.560914 -0.941913,0.878413 -0.603248,0.317499 -1.375829,0.317499 h -1.566329 v 2.825741 q 0,0.179917 -0.116416,0.296333 -0.116416,0.116416 -0.296332,0.116416 z m 4.423819,0 q -0.137583,0 -0.222249,-0.05292 -0.07408,-0.05292 -0.137583,-0.15875 l -2.031994,-3.23849 0.825498,-0.211666 1.89441,3.026824 q 0.15875,0.253999 0.05292,0.444499 -0.09525,0.190499 -0.380999,0.190499 z M 74.681423,22.44917 h 1.566329 q 0.539748,0 0.952497,-0.211666 0.423332,-0.222249 0.666748,-0.603248 0.243415,-0.380999 0.243415,-0.867831 0,-0.518581 -0.243415,-0.910163 -0.243416,-0.402166 -0.666748,-0.624415 -0.412749,-0.222249 -0.952497,-0.222249 h -1.566329 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1140" />
|
||||
<path
|
||||
d="m 80.809152,26.481407 q -0.179916,0 -0.296332,-0.116416 -0.116416,-0.116416 -0.116416,-0.296333 v -7.440059 q 0,-0.179916 0.116416,-0.296333 0.116416,-0.116416 0.296332,-0.116416 h 2.11666 q 0.783164,0 1.386413,0.349249 0.603248,0.338666 0.941913,0.941914 0.338666,0.603248 0.338666,1.396995 0,0.772581 -0.338666,1.375829 -0.338665,0.592665 -0.941913,0.941914 -0.603249,0.338665 -1.386413,0.338665 h -1.703911 v 2.508242 q 0,0.179917 -0.116416,0.296333 -0.116417,0.116416 -0.296333,0.116416 z m 0.412749,-3.714738 h 1.703911 q 0.539749,0 0.963081,-0.232833 0.423332,-0.243415 0.656164,-0.666747 0.243416,-0.423332 0.243416,-0.963081 0,-0.560915 -0.243416,-0.984247 -0.232832,-0.423332 -0.656164,-0.666747 -0.423332,-0.243416 -0.963081,-0.243416 h -1.703911 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1142" />
|
||||
<path
|
||||
d="m 90.164784,26.65074 q -0.96308,0 -1.714494,-0.370416 -0.740831,-0.370415 -1.164163,-1.02658 -0.412749,-0.656164 -0.412749,-1.502828 v -5.122317 q 0,-0.179916 0.116416,-0.296333 0.116417,-0.116416 0.296333,-0.116416 0.179916,0 0.296332,0.116416 0.116417,0.116417 0.116417,0.296333 v 5.122317 q 0,0.624415 0.306915,1.100663 0.317499,0.476249 0.878414,0.751414 0.560915,0.264583 1.280579,0.264583 0.709081,0 1.259413,-0.264583 0.550332,-0.275165 0.857247,-0.751414 0.317499,-0.476248 0.317499,-1.100663 v -5.122317 q 0,-0.179916 0.116417,-0.296333 0.116416,-0.116416 0.296332,-0.116416 0.190499,0 0.296332,0.116416 0.116417,0.116417 0.116417,0.296333 v 5.122317 q 0,0.846664 -0.423332,1.502828 -0.412749,0.656165 -1.15358,1.02658 -0.730248,0.370416 -1.682745,0.370416 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1144" />
|
||||
<path
|
||||
d="m 95.953851,26.481407 q -0.179916,0 -0.296332,-0.116416 -0.116416,-0.116416 -0.116416,-0.296333 v -7.440059 q 0,-0.179916 0.116416,-0.296333 0.116416,-0.116416 0.296332,-0.116416 0.1905,0 0.317499,0.148166 l 5.05882,6.646313 v -6.38173 q 0,-0.179916 0.11641,-0.296333 0.11642,-0.116416 0.29634,-0.116416 0.16933,0 0.28575,0.116416 0.127,0.116417 0.127,0.296333 v 7.440059 q 0,0.179917 -0.127,0.296333 -0.11642,0.116416 -0.28575,0.116416 -0.0847,0 -0.16934,-0.03175 -0.0847,-0.03175 -0.13758,-0.105833 l -5.0694,-6.646312 v 6.371146 q 0,0.179917 -0.126999,0.296333 -0.116417,0.116416 -0.28575,0.116416 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1146" />
|
||||
<path
|
||||
d="m 104.68508,26.481407 q -0.16933,0 -0.29633,-0.116416 -0.11642,-0.127 -0.11642,-0.296333 v -7.440059 q 0,-0.169333 0.11642,-0.285749 0.127,-0.127 0.29633,-0.127 0.16934,0 0.28575,0.127 0.127,0.116416 0.127,0.285749 v 3.598322 l 3.86291,-3.862905 q 0.0847,-0.08467 0.15875,-0.116416 0.0741,-0.03175 0.16933,-0.03175 0.1905,0 0.28575,0.116416 0.0953,0.116417 0.0847,0.28575 0,0.158749 -0.127,0.306915 l -2.89982,2.899824 2.93157,4.000488 q 0.0952,0.137582 0.0741,0.296332 -0.0106,0.148166 -0.11642,0.253999 -0.10583,0.105833 -0.254,0.105833 -0.23283,0 -0.34925,-0.179916 l -2.87865,-3.894654 -0.94192,0.952497 v 2.709324 q 0,0.169333 -0.127,0.296333 -0.11641,0.116416 -0.28575,0.116416 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1148" />
|
||||
<path
|
||||
d="m 118.02004,26.58724 q -0.85724,0 -1.60866,-0.328082 -0.74083,-0.328082 -1.31233,-0.910164 -0.56091,-0.592665 -0.87841,-1.354662 -0.3175,-0.772581 -0.3175,-1.650995 0,-0.867831 0.30692,-1.629828 0.31749,-0.772581 0.87841,-1.354662 0.5715,-0.582082 1.31233,-0.910164 0.75141,-0.338666 1.61924,-0.338666 0.762,0 1.38642,0.222249 0.62441,0.22225 1.20649,0.709082 0.0953,0.07408 0.10583,0.179916 0.0212,0.09525 -0.0212,0.190499 -0.0423,0.08467 -0.127,0.127 -0.0212,0.08467 -0.10583,0.126999 -0.0847,0.04233 -0.20109,0.03175 -0.10583,-0.01058 -0.21166,-0.09525 -0.41275,-0.359832 -0.89958,-0.529165 -0.48684,-0.179916 -1.13242,-0.179916 -0.68791,0 -1.29116,0.275166 -0.59266,0.275166 -1.04775,0.751414 -0.45508,0.476249 -0.71966,1.100664 -0.254,0.624414 -0.254,1.322912 0,0.719664 0.254,1.344079 0.26458,0.624415 0.71966,1.100663 0.45509,0.476249 1.04775,0.751414 0.60325,0.264583 1.29116,0.264583 0.58208,0 1.10067,-0.190499 0.51858,-0.1905 0.98424,-0.550332 0.127,-0.105833 0.26459,-0.08467 0.14816,0.02117 0.25399,0.126999 0.10584,0.105833 0.10584,0.275166 0,0.08467 -0.0318,0.158749 -0.0212,0.0635 -0.0847,0.137583 -0.53975,0.497415 -1.20649,0.709081 -0.66675,0.201083 -1.38642,0.201083 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1150" />
|
||||
<path
|
||||
d="m 122.84602,26.481407 q -0.17991,0 -0.29633,-0.116416 -0.11642,-0.116416 -0.11642,-0.296333 v -7.440059 q 0,-0.179916 0.11642,-0.296333 0.11642,-0.116416 0.29633,-0.116416 0.17992,0 0.29633,0.116416 0.11642,0.116417 0.11642,0.296333 v 7.440059 q 0,0.179917 -0.11642,0.296333 -0.11641,0.116416 -0.29633,0.116416 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1152" />
|
||||
<path
|
||||
d="m 127.77784,26.481407 q -0.16934,0 -0.29634,-0.116416 -0.11641,-0.127 -0.11641,-0.296333 V 18.21585 h 0.82549 v 7.852808 q 0,0.169333 -0.11641,0.296333 -0.11642,0.116416 -0.29633,0.116416 z m -2.921,-7.514143 q -0.16933,0 -0.27516,-0.105833 -0.10583,-0.105833 -0.10583,-0.264582 0,-0.169333 0.10583,-0.275166 0.10583,-0.105833 0.27516,-0.105833 h 5.85257 q 0.16933,0 0.27517,0.105833 0.10583,0.105833 0.10583,0.275166 0,0.158749 -0.10583,0.264582 -0.10584,0.105833 -0.27517,0.105833 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1154" />
|
||||
<path
|
||||
d="m 134.67815,26.481407 q -0.16933,0 -0.29633,-0.116416 -0.11642,-0.127 -0.11642,-0.296333 v -2.645824 l -2.87865,-4.561403 q -0.10584,-0.158749 -0.0847,-0.306915 0.0318,-0.148166 0.13758,-0.243416 0.10584,-0.09525 0.26459,-0.09525 0.127,0 0.20108,0.05292 0.0847,0.05292 0.14817,0.148166 l 2.85749,4.603735 h -0.4445 l 2.84691,-4.582569 q 0.0741,-0.116416 0.15874,-0.169332 0.0952,-0.05292 0.22225,-0.05292 0.14817,0 0.24342,0.105833 0.10583,0.09525 0.11642,0.243416 0.0212,0.148166 -0.0741,0.296332 l -2.88924,4.561403 v 2.645824 q 0,0.169333 -0.127,0.296333 -0.11641,0.116416 -0.28575,0.116416 z"
|
||||
style="font-family:Comfortaa;-inkscape-font-specification:Comfortaa"
|
||||
id="path1156" />
|
||||
<g
|
||||
id="g1508"
|
||||
transform="translate(-3.301085,-60.132446)">
|
||||
<path
|
||||
d="m 57.091094,86.719686 q -0.920747,0 -1.693328,-0.317499 -0.772581,-0.317499 -1.344079,-0.888997 -0.560915,-0.571498 -0.878414,-1.344079 -0.306915,-0.772581 -0.306915,-1.693328 0,-0.910164 0.306915,-1.682745 0.317499,-0.772581 0.878414,-1.344079 0.571498,-0.571498 1.344079,-0.888997 0.772581,-0.317499 1.693328,-0.317499 0.910164,0 1.682745,0.317499 0.772581,0.317499 1.344079,0.888997 0.571498,0.571498 0.878414,1.344079 0.317499,0.772581 0.317499,1.682745 0,0.920747 -0.317499,1.693328 -0.306916,0.772581 -0.878414,1.344079 -0.571498,0.571498 -1.344079,0.888997 -0.772581,0.317499 -1.682745,0.317499 z m 0,-0.783164 q 0.730248,0 1.354663,-0.253999 0.624414,-0.264583 1.079496,-0.730248 0.465665,-0.476248 0.719664,-1.100663 0.254,-0.634998 0.254,-1.375829 0,-0.730248 -0.254,-1.354662 -0.253999,-0.634998 -0.719664,-1.100664 -0.455082,-0.476248 -1.079496,-0.730247 -0.624415,-0.264583 -1.354663,-0.264583 -0.740831,0 -1.365246,0.264583 -0.624414,0.253999 -1.090079,0.730247 -0.455082,0.465666 -0.709081,1.100664 -0.254,0.624414 -0.254,1.354662 0,0.740831 0.254,1.375829 0.253999,0.624415 0.709081,1.100663 0.465665,0.465665 1.090079,0.730248 0.624415,0.253999 1.365246,0.253999 z"
|
||||
style="font-size:10.5833px;line-height:1.25;font-family:Comfortaa;-inkscape-font-specification:Comfortaa;stroke-width:0.264583"
|
||||
id="path1134-7" />
|
||||
<g
|
||||
id="g1451">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 60.536549,78.927948 4.532854,-4.272915"
|
||||
id="path1186"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="font-size:10.5833px;line-height:1.25;fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 53.53328,78.923347 52.685351,78.134793"
|
||||
id="path1186-6"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.45;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 57.091095,77.632331 V 75.392307"
|
||||
id="path1269"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
<g
|
||||
id="g1451-8"
|
||||
style="font-size:10.5833px;line-height:1.25;stroke-width:0.264583"
|
||||
transform="rotate(180,57.091095,82.531614)">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 60.536549,78.927948 4.532854,-4.272915"
|
||||
id="path1186-9"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="font-size:10.5833px;line-height:1.25;fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 53.53328,78.923347 52.685351,78.134793"
|
||||
id="path1186-6-2"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.45;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 57.091095,77.632331 V 75.392307"
|
||||
id="path1269-6"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
<circle
|
||||
style="fill:#000000;stroke:#000000;stroke-width:0.865;stroke-dasharray:none"
|
||||
id="path1446"
|
||||
cx="57.091095"
|
||||
cy="82.481071"
|
||||
r="0.68521023" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 17 KiB |
58
pelicanconf.py
Normal file
58
pelicanconf.py
Normal file
|
@ -0,0 +1,58 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
PATH = 'content'
|
||||
|
||||
TIMEZONE = 'Canada/Mountain'
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
DEFAULT_PAGINATION = False
|
||||
|
||||
MARKDOWN = {
|
||||
'extension_configs': {
|
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||
'markdown.extensions.extra': {},
|
||||
'markdown.extensions.meta': {},
|
||||
'markdown.extensions.toc': {
|
||||
'toc_depth': '2-3',
|
||||
'anchorlink': True,
|
||||
},
|
||||
},
|
||||
'output_format': 'html5',
|
||||
}
|
||||
|
||||
PLUGINS = [
|
||||
'obsidian',
|
||||
'linkclass',
|
||||
]
|
||||
|
||||
STATIC_PATHS = ['media', 'extra']
|
||||
|
||||
EXTRA_PATH_METADATA = {
|
||||
'extra/favicon.svg': {'path': 'favicon.svg'},
|
||||
}
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
#RELATIVE_URLS = True
|
||||
|
||||
THEME = 'themes/theme'
|
||||
|
||||
# turn off useless outputs
|
||||
TAG_SAVE_AS = ''
|
||||
CATEGORY_SAVE_AS = ''
|
||||
AUTHOR_SAVE_AS = ''
|
||||
ARCHIVES_SAVE_AS = ''
|
||||
AUTHORS_SAVE_AS = ''
|
||||
CATEGORIES_SAVE_AS = ''
|
||||
TAGS_SAVE_AS = ''
|
||||
|
||||
PROD = False
|
64
publishconf.py
Normal file
64
publishconf.py
Normal file
|
@ -0,0 +1,64 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
PATH = 'content'
|
||||
|
||||
TIMEZONE = 'Canada/Mountain'
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
DEFAULT_PAGINATION = False
|
||||
|
||||
MARKDOWN = {
|
||||
'extension_configs': {
|
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||
'markdown.extensions.extra': {},
|
||||
'markdown.extensions.meta': {},
|
||||
'markdown.extensions.toc': {
|
||||
'toc_depth': '2-3',
|
||||
'anchorlink': True,
|
||||
},
|
||||
},
|
||||
'output_format': 'html5',
|
||||
}
|
||||
|
||||
PLUGINS = [
|
||||
'obsidian',
|
||||
'linkclass',
|
||||
]
|
||||
|
||||
STATIC_PATHS = ['media', 'extra']
|
||||
|
||||
EXTRA_PATH_METADATA = {
|
||||
'extra/favicon.svg': {'path': 'favicon.svg'},
|
||||
}
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
#RELATIVE_URLS = True
|
||||
|
||||
THEME = 'themes/theme'
|
||||
|
||||
# turn off useless outputs
|
||||
TAG_SAVE_AS = ''
|
||||
CATEGORY_SAVE_AS = ''
|
||||
AUTHOR_SAVE_AS = ''
|
||||
ARCHIVES_SAVE_AS = ''
|
||||
AUTHORS_SAVE_AS = ''
|
||||
CATEGORIES_SAVE_AS = ''
|
||||
TAGS_SAVE_AS = ''
|
||||
|
||||
INDEX_SAVE_AS = 'index.html'
|
||||
ARTICLE_URL = '{slug}/'
|
||||
ARTICLE_SAVE_AS = '{slug}/index.html'
|
||||
PAGE_URL = '{slug}/'
|
||||
PAGE_SAVE_AS = '{slug}/index.html'
|
||||
|
||||
PROD = True
|
16
requirements.txt
Normal file
16
requirements.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
blinker==1.4
|
||||
commonmark==0.9.1
|
||||
docutils==0.18.1
|
||||
feedgenerator==2.0.0
|
||||
Jinja2==3.1.2
|
||||
Markdown==3.3.6
|
||||
MarkupSafe==2.1.1
|
||||
pelican==4.7.2
|
||||
pelican-linkclass==2.0.2
|
||||
pelican-obsidian @ git+https://git.tannercollin.com/tanner/pelican-obsidian.git@41dd1d649127ae2833f5a4b1c3b6b6cb571117d8
|
||||
Pygments==2.12.0
|
||||
python-dateutil==2.8.2
|
||||
pytz==2022.1
|
||||
rich==12.3.0
|
||||
six==1.16.0
|
||||
Unidecode==1.3.4
|
49
themes/theme/templates/article.html
Normal file
49
themes/theme/templates/article.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ article.title|striptags }} | Solarpunk City{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
|
||||
{% if article.date %}
|
||||
<meta name="date" content="{{article.date}}" />
|
||||
{% endif %}
|
||||
|
||||
{% if article.summary %}
|
||||
<meta name="description" content="{{article.summary|striptags}}" />
|
||||
<meta name="summary" content="{{article.summary|striptags}}" />
|
||||
{% endif %}
|
||||
|
||||
{% if article.category %}
|
||||
<meta name="category" content="{{article.category}}" />
|
||||
{% endif %}
|
||||
|
||||
{% for tag in article.tags %}
|
||||
<meta name="tags" content="{{tag}}" />
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content">
|
||||
<header>
|
||||
<h1>{{ article.title }}</h1>
|
||||
<div class="summary">
|
||||
{{ article.summary }}
|
||||
</div>
|
||||
<p class="metadata">
|
||||
{{ article.locale_date }}
|
||||
{% if article.modified %}
|
||||
— updated {{ article.locale_modified }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</header>
|
||||
<hr />
|
||||
<article>
|
||||
|
||||
{{ article.content }}
|
||||
|
||||
</article>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
68
themes/theme/templates/base.html
Normal file
68
themes/theme/templates/base.html
Normal file
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{% block title %}Solarpunk City{% endblock title %}</title>
|
||||
<meta name="author" content="Solarpunk City" />
|
||||
{% endblock head %}
|
||||
|
||||
<style>
|
||||
{% include 'style.css' %}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
<a href="/" aria-label="Return home">
|
||||
<svg width="95.5mm" height="16.117mm" version="1.1" viewBox="0 0 95.5 16.117" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(-54.981 -31.784)">
|
||||
<text transform="scale(.26458)" fill="#000000" font-family="Comfortaa" font-size="40px" style="line-height:1.25;shape-inside:url(#rect285);white-space:pre" xml:space="preserve"/>
|
||||
<g transform="translate(12.422 17.444)" stroke-width=".26458" aria-label="SOLARPUNK CITY">
|
||||
<path d="m45.503 26.587q-0.67733 0-1.2594-0.1905-0.5715-0.20108-0.99483-0.56092t-0.64558-0.83608q-0.08467-0.16933-0.01058-0.30692 0.08467-0.14817 0.27517-0.20108 0.14817-0.04233 0.28575 0.03175 0.14817 0.07408 0.22225 0.22225 0.15875 0.30692 0.46567 0.55033 0.30692 0.24342 0.73025 0.381 0.42333 0.127 0.93133 0.127 0.56092 0 0.99483-0.17992 0.43392-0.1905 0.67733-0.53975 0.254-0.35983 0.254-0.86783 0-0.64558-0.47625-1.1112-0.47625-0.46567-1.4922-0.59266-1.2382-0.14817-1.9367-0.762-0.6985-0.62441-0.6985-1.524 0-0.64558 0.33866-1.1218 0.34925-0.47625 0.9525-0.73025 0.60325-0.26458 1.3864-0.26458 0.58208 0 1.0583 0.1905 0.47625 0.17992 0.8255 0.48683 0.35983 0.29633 0.58208 0.65616 0.10583 0.16933 0.0635 0.32808-0.03175 0.15875-0.17992 0.24342-0.15875 0.07408-0.32808 0.02117-0.15875-0.05292-0.24342-0.20108-0.15875-0.24342-0.40216-0.45508-0.23283-0.22225-0.5715-0.34925-0.33866-0.127-0.81491-0.13758-0.83608 0-1.3441 0.35983-0.508 0.34925-0.508 1.0266 0 0.35983 0.1905 0.66675 0.1905 0.29633 0.62442 0.51858 0.4445 0.21167 1.1853 0.3175 1.3229 0.1905 1.9579 0.81491 0.64558 0.61383 0.64558 1.6087 0 0.5715-0.21167 1.016-0.20108 0.4445-0.58208 0.75141-0.37042 0.29633-0.87841 0.45508-0.49742 0.15875-1.0689 0.15875z"/>
|
||||
<path d="m53.79 26.587q-0.92075 0-1.6933-0.3175t-1.3441-0.889q-0.56092-0.5715-0.87841-1.3441-0.30692-0.77258-0.30692-1.6933 0-0.91016 0.30692-1.6827 0.3175-0.77258 0.87841-1.3441 0.5715-0.5715 1.3441-0.889t1.6933-0.3175q0.91016 0 1.6827 0.3175t1.3441 0.889 0.87841 1.3441q0.3175 0.77258 0.3175 1.6827 0 0.92075-0.3175 1.6933-0.30692 0.77258-0.87841 1.3441t-1.3441 0.889-1.6827 0.3175zm0-0.78316q0.73025 0 1.3547-0.254 0.62441-0.26458 1.0795-0.73025 0.46566-0.47625 0.71966-1.1007 0.254-0.635 0.254-1.3758 0-0.73025-0.254-1.3547-0.254-0.635-0.71966-1.1007-0.45508-0.47625-1.0795-0.73025-0.62442-0.26458-1.3547-0.26458-0.74083 0-1.3652 0.26458-0.62441 0.254-1.0901 0.73025-0.45508 0.46567-0.70908 1.1007-0.254 0.62441-0.254 1.3547 0 0.74083 0.254 1.3758 0.254 0.62442 0.70908 1.1007 0.46566 0.46566 1.0901 0.73025 0.62442 0.254 1.3652 0.254z"/>
|
||||
<path d="m60.129 26.481q-0.16933 0-0.29633-0.11642-0.11642-0.11642-0.11642-0.29633v-7.4401q0-0.16933 0.11642-0.28575 0.127-0.127 0.29633-0.127t0.28575 0.127q0.127 0.11642 0.127 0.28575v7.0696h4.1381q0.16933 0 0.28575 0.11642 0.127 0.10583 0.127 0.27517t-0.127 0.28575q-0.11642 0.10583-0.28575 0.10583z"/>
|
||||
<path d="m65.961 26.481q-0.24342 0-0.34925-0.20108-0.10583-0.20108-0.02117-0.39158l3.1115-7.3871q0.11642-0.28575 0.40216-0.28575 0.27517 0 0.39158 0.28575l3.1221 7.3977q0.09525 0.20108-0.03175 0.39158-0.11642 0.1905-0.33867 0.1905-0.127 0-0.23283-0.0635-0.09525-0.0635-0.15875-0.1905l-2.9104-7.0591h0.32808l-2.9316 7.0591q-0.05292 0.127-0.15875 0.1905-0.09525 0.0635-0.22225 0.0635zm0.6985-1.9685 0.3175-0.70908h4.2968l0.3175 0.70908z"/>
|
||||
<path d="m74.269 26.481q-0.17992 0-0.29633-0.11642-0.11642-0.11642-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642h1.9791q0.77258 0 1.3758 0.32808 0.60325 0.3175 0.94191 0.89958 0.34925 0.5715 0.34925 1.3229 0 0.71966-0.34925 1.2806-0.33866 0.56091-0.94191 0.87841t-1.3758 0.3175h-1.5663v2.8257q0 0.17992-0.11642 0.29633t-0.29633 0.11642zm4.4238 0q-0.13758 0-0.22225-0.05292-0.07408-0.05292-0.13758-0.15875l-2.032-3.2385 0.8255-0.21167 1.8944 3.0268q0.15875 0.254 0.05292 0.4445-0.09525 0.1905-0.381 0.1905zm-4.0111-4.0322h1.5663q0.53975 0 0.9525-0.21167 0.42333-0.22225 0.66675-0.60325 0.24342-0.381 0.24342-0.86783 0-0.51858-0.24342-0.91016-0.24342-0.40217-0.66675-0.62442-0.41275-0.22225-0.9525-0.22225h-1.5663z"/>
|
||||
<path d="m80.809 26.481q-0.17992 0-0.29633-0.11642t-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642h2.1167q0.78316 0 1.3864 0.34925 0.60325 0.33867 0.94191 0.94191 0.33867 0.60325 0.33867 1.397 0 0.77258-0.33867 1.3758-0.33866 0.59266-0.94191 0.94191-0.60325 0.33866-1.3864 0.33866h-1.7039v2.5082q0 0.17992-0.11642 0.29633-0.11642 0.11642-0.29633 0.11642zm0.41275-3.7147h1.7039q0.53975 0 0.96308-0.23283 0.42333-0.24342 0.65616-0.66675 0.24342-0.42333 0.24342-0.96308 0-0.56092-0.24342-0.98425-0.23283-0.42333-0.65616-0.66675-0.42333-0.24342-0.96308-0.24342h-1.7039z"/>
|
||||
<path d="m90.165 26.651q-0.96308 0-1.7145-0.37042-0.74083-0.37042-1.1642-1.0266-0.41275-0.65616-0.41275-1.5028v-5.1223q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642t0.29633 0.11642q0.11642 0.11642 0.11642 0.29633v5.1223q0 0.62442 0.30692 1.1007 0.3175 0.47625 0.87841 0.75141 0.56092 0.26458 1.2806 0.26458 0.70908 0 1.2594-0.26458 0.55033-0.27516 0.85725-0.75141 0.3175-0.47625 0.3175-1.1007v-5.1223q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642 0.1905 0 0.29633 0.11642 0.11642 0.11642 0.11642 0.29633v5.1223q0 0.84666-0.42333 1.5028-0.41275 0.65616-1.1536 1.0266-0.73025 0.37042-1.6827 0.37042z"/>
|
||||
<path d="m95.954 26.481q-0.17992 0-0.29633-0.11642t-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642 0.1905 0 0.3175 0.14817l5.0588 6.6463v-6.3817q0-0.17992 0.11641-0.29633 0.11642-0.11642 0.29634-0.11642 0.16933 0 0.28575 0.11642 0.127 0.11642 0.127 0.29633v7.4401q0 0.17992-0.127 0.29633-0.11642 0.11642-0.28575 0.11642-0.0847 0-0.16934-0.03175-0.0847-0.03175-0.13758-0.10583l-5.0694-6.6463v6.3711q0 0.17992-0.127 0.29633-0.11642 0.11642-0.28575 0.11642z"/>
|
||||
<path d="m104.69 26.481q-0.16933 0-0.29633-0.11642-0.11642-0.127-0.11642-0.29633v-7.4401q0-0.16933 0.11642-0.28575 0.127-0.127 0.29633-0.127 0.16934 0 0.28575 0.127 0.127 0.11642 0.127 0.28575v3.5983l3.8629-3.8629q0.0847-0.08467 0.15875-0.11642 0.0741-0.03175 0.16933-0.03175 0.1905 0 0.28575 0.11642 0.0953 0.11642 0.0847 0.28575 0 0.15875-0.127 0.30692l-2.8998 2.8998 2.9316 4.0005q0.0952 0.13758 0.0741 0.29633-0.0106 0.14817-0.11642 0.254-0.10583 0.10583-0.254 0.10583-0.23283 0-0.34925-0.17992l-2.8786-3.8947-0.94192 0.9525v2.7093q0 0.16933-0.127 0.29633-0.11641 0.11642-0.28575 0.11642z"/>
|
||||
<path d="m118.02 26.587q-0.85724 0-1.6087-0.32808-0.74083-0.32808-1.3123-0.91016-0.56091-0.59266-0.87841-1.3547-0.3175-0.77258-0.3175-1.651 0-0.86783 0.30692-1.6298 0.31749-0.77258 0.87841-1.3547 0.5715-0.58208 1.3123-0.91016 0.75141-0.33867 1.6192-0.33867 0.762 0 1.3864 0.22225 0.62441 0.22225 1.2065 0.70908 0.0953 0.07408 0.10583 0.17992 0.0212 0.09525-0.0212 0.1905-0.0423 0.08467-0.127 0.127-0.0212 0.08467-0.10583 0.127-0.0847 0.04233-0.20109 0.03175-0.10583-0.01058-0.21166-0.09525-0.41275-0.35983-0.89958-0.52916-0.48684-0.17992-1.1324-0.17992-0.68791 0-1.2912 0.27517-0.59266 0.27517-1.0478 0.75141-0.45508 0.47625-0.71966 1.1007-0.254 0.62441-0.254 1.3229 0 0.71966 0.254 1.3441 0.26458 0.62442 0.71966 1.1007 0.45509 0.47625 1.0478 0.75141 0.60325 0.26458 1.2912 0.26458 0.58208 0 1.1007-0.1905 0.51858-0.1905 0.98424-0.55033 0.127-0.10583 0.26459-0.08467 0.14816 0.02117 0.25399 0.127 0.10584 0.10583 0.10584 0.27517 0 0.08467-0.0318 0.15875-0.0212 0.0635-0.0847 0.13758-0.53975 0.49742-1.2065 0.70908-0.66675 0.20108-1.3864 0.20108z"/>
|
||||
<path d="m122.85 26.481q-0.17991 0-0.29633-0.11642t-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642 0.17992 0 0.29633 0.11642 0.11642 0.11642 0.11642 0.29633v7.4401q0 0.17992-0.11642 0.29633-0.11641 0.11642-0.29633 0.11642z"/>
|
||||
<path d="m127.78 26.481q-0.16934 0-0.29634-0.11642-0.11641-0.127-0.11641-0.29633v-7.8528h0.82549v7.8528q0 0.16933-0.11641 0.29633-0.11642 0.11642-0.29633 0.11642zm-2.921-7.5141q-0.16933 0-0.27516-0.10583t-0.10583-0.26458q0-0.16933 0.10583-0.27517t0.27516-0.10583h5.8526q0.16933 0 0.27517 0.10583 0.10583 0.10583 0.10583 0.27517 0 0.15875-0.10583 0.26458-0.10584 0.10583-0.27517 0.10583z"/>
|
||||
<path d="m134.68 26.481q-0.16933 0-0.29633-0.11642-0.11642-0.127-0.11642-0.29633v-2.6458l-2.8786-4.5614q-0.10584-0.15875-0.0847-0.30692 0.0318-0.14817 0.13758-0.24342 0.10584-0.09525 0.26459-0.09525 0.127 0 0.20108 0.05292 0.0847 0.05292 0.14817 0.14817l2.8575 4.6037h-0.4445l2.8469-4.5826q0.0741-0.11642 0.15874-0.16933 0.0952-0.05292 0.22225-0.05292 0.14817 0 0.24342 0.10583 0.10583 0.09525 0.11642 0.24342 0.0212 0.14817-0.0741 0.29633l-2.8892 4.5614v2.6458q0 0.16933-0.127 0.29633-0.11641 0.11642-0.28575 0.11642z"/>
|
||||
<g transform="translate(-3.3011 -60.132)">
|
||||
<path d="m57.091 86.72q-0.92075 0-1.6933-0.3175t-1.3441-0.889q-0.56092-0.5715-0.87841-1.3441-0.30692-0.77258-0.30692-1.6933 0-0.91016 0.30692-1.6827 0.3175-0.77258 0.87841-1.3441 0.5715-0.5715 1.3441-0.889t1.6933-0.3175q0.91016 0 1.6827 0.3175t1.3441 0.889 0.87841 1.3441q0.3175 0.77258 0.3175 1.6827 0 0.92075-0.3175 1.6933-0.30692 0.77258-0.87841 1.3441t-1.3441 0.889-1.6827 0.3175zm0-0.78316q0.73025 0 1.3547-0.254 0.62441-0.26458 1.0795-0.73025 0.46566-0.47625 0.71966-1.1007 0.254-0.635 0.254-1.3758 0-0.73025-0.254-1.3547-0.254-0.635-0.71966-1.1007-0.45508-0.47625-1.0795-0.73025-0.62442-0.26458-1.3547-0.26458-0.74083 0-1.3652 0.26458-0.62441 0.254-1.0901 0.73025-0.45508 0.46567-0.70908 1.1007-0.254 0.62441-0.254 1.3547 0 0.74083 0.254 1.3758 0.254 0.62442 0.70908 1.1007 0.46566 0.46566 1.0901 0.73025 0.62442 0.254 1.3652 0.254z" stroke-width=".26458"/>
|
||||
<g fill="none" stroke="#000">
|
||||
<path d="m60.537 78.928 4.5329-4.2729" stroke-width=".5"/>
|
||||
<path d="m53.533 78.923-0.84793-0.78855" stroke-width=".5"/>
|
||||
<path d="m57.091 77.632v-2.24" stroke-width=".45"/>
|
||||
</g>
|
||||
<g transform="rotate(180 57.091 82.532)" fill="none" stroke="#000">
|
||||
<path d="m60.537 78.928 4.5329-4.2729" stroke-width=".5"/>
|
||||
<path d="m53.533 78.923-0.84793-0.78855" stroke-width=".5"/>
|
||||
<path d="m57.091 77.632v-2.24" stroke-width=".45"/>
|
||||
</g>
|
||||
<circle cx="57.091" cy="82.481" r=".68521" stroke="#000" stroke-width=".865"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<p class="footer">
|
||||
© 2012–2022 Solarpunk City
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
25
themes/theme/templates/index.html
Normal file
25
themes/theme/templates/index.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
<meta name="description" content="Solarpunk City" />
|
||||
<meta name="summary" content="Solarpunk City" />
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content index">
|
||||
<h2>Designs</h2>
|
||||
|
||||
<p>
|
||||
Open source solarpunk inspiried designs that you can build yourself.
|
||||
</p>
|
||||
|
||||
{% for article in articles_page.object_list if article.category.name == 'Designs' %}
|
||||
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
|
||||
<div class="summary">
|
||||
{{ article.summary }}
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
219
themes/theme/templates/style.css
Normal file
219
themes/theme/templates/style.css
Normal file
|
@ -0,0 +1,219 @@
|
|||
html {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
body {
|
||||
text-rendering: optimizeLegibility;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a.external {
|
||||
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23fff' stroke='%23000' d='M1.5 4.518h5.982V10.5H1.5z'/%3E%3Cpath fill='%23000' d='M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z'/%3E%3Cpath fill='%23fff' d='m9.995 2.004.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z'/%3E%3C/svg%3E%0A");
|
||||
background-position: center right;
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.index h2 {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.index h3 {
|
||||
font: 1.2rem/1.5 serif;
|
||||
}
|
||||
|
||||
.source {
|
||||
font: 0.9rem/1.5 serif;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.2;
|
||||
padding: 1rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
:not(pre)>code {
|
||||
padding: 0 2px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 42rem;
|
||||
margin: 1rem auto 12rem auto;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 10rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.container .logo a {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.footer {
|
||||
font: 0.9rem/1.5 serif;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.toc {
|
||||
float: right;
|
||||
padding: 0.75rem;
|
||||
padding-top: 0;
|
||||
margin-left: 0.75rem;
|
||||
}
|
||||
|
||||
.toc ul {
|
||||
padding-left: 1.2rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.toc li {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.content p.metadata {
|
||||
font: 0.9rem/1.0 serif;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.content div.summary p {
|
||||
margin-top: -0.6rem;
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
.content p {
|
||||
font: 1.2rem/1.5 serif;
|
||||
}
|
||||
|
||||
.content ul {
|
||||
padding-left: 1.1rem;
|
||||
}
|
||||
|
||||
.content li {
|
||||
font: 1.2rem/1.5 serif;
|
||||
}
|
||||
|
||||
.content img:not(.floated) {
|
||||
width: 100%;
|
||||
max-width: 36rem;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.content .floated {
|
||||
float: left;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.content.index {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.toclink:not(:hover) {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@media screen and (min-width:62rem) {
|
||||
.content .aside {
|
||||
display: inline;
|
||||
float: left;
|
||||
position: relative;
|
||||
width: 8rem;
|
||||
margin-left: -9rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #555;
|
||||
border-bottom: 1px solid #555;
|
||||
}
|
||||
|
||||
.return-home {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.return-home a:visited, a.toclink:visited, .toc a:visited {
|
||||
color: inherit;
|
||||
border-bottom: inherit;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
:not(pre)>code {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.toc {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.content p.metadata {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #aaa;
|
||||
border-bottom: 1px solid #aaa;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
:not(pre)>code {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.toc {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.content p.metadata {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.content.index {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.content img {
|
||||
filter: brightness(75%);
|
||||
}
|
||||
|
||||
.contact-icons img {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user