diff options
| author | Botond Hende <contact@wazul.moe> | 2026-05-08 17:43:38 +0200 |
|---|---|---|
| committer | Botond Hende <contact@wazul.moe> | 2026-05-08 17:43:38 +0200 |
| commit | 64c955727529d9dd4275c9508008c5808014afc4 (patch) | |
| tree | 4bd4a7fca59f29d55f187e90349cae43c7652811 /main/templates | |
| parent | 6acf1f0695d3da227181708e9b98e970f2649bf5 (diff) | |
multiple sites on root domain
Diffstat (limited to 'main/templates')
| -rw-r--r-- | main/templates/main_base.html.j2 | 24 | ||||
| -rw-r--r-- | main/templates/main_index.html.j2 | 4 | ||||
| -rw-r--r-- | main/templates/main_neighbors.html.j2 | 14 | ||||
| -rw-r--r-- | main/templates/main_sidebar.html.j2 | 8 |
4 files changed, 35 insertions, 15 deletions
diff --git a/main/templates/main_base.html.j2 b/main/templates/main_base.html.j2 index b589ebe..6859389 100644 --- a/main/templates/main_base.html.j2 +++ b/main/templates/main_base.html.j2 @@ -7,25 +7,19 @@ <div class="bootstrap-wrapper"> <div class="container"> <div class="row"> - <div class="col-md-9 navbar_main"> + <div class="col-md-12 navbar_main"> {{ super() }} </div> </div> <div class="row"> - <main class="col-md-9"> - <p>This is page is work in progress. Meanwhile check my stuff on the navbar at the top of the page.</p> - <h2 style="color: #dddddd; text-align: center">Visit these sites, they have way cooler (and more finished) webpages than me:</h2> - <div align="center"> - <a href="https://www.tar.dev/" target="_blank"><img src="/assets/image/neighbors/tarandir.gif" alt="tar.dev" title="tar.dev" style="width:88px;height:31px;"></a> - <br> - <p>A way cooler neighbor page coming soon... (I swear.)</p> - </div> - <h2 style="color: #dddddd; text-align: center">Fanlistings I'm part of:</h2> - <div align="center"> - <a href="http://fan.after-death.org/crows" target="_blank"><img src="/assets/image/fanlisting/crows.png" alt="http://fan.after-death.org/crows" title="http://fan.after-death.org/crows" style="width:50px;height:50px;"></a> - <a href="https://n7.redcrown.net" target="_blank"><img src="/assets/image/fanlisting/masseffect.png" alt="Mass Effect series fanlisting"></a> - </div> - </main> + <div class="col-md-9 main_parent"> + <main> + {% block content required %}{% endblock %} + </main> + </div> + <aside class="col-md-3"> + {% include 'main_sidebar.html.j2' %} + </aside> </div> </div> </div> diff --git a/main/templates/main_index.html.j2 b/main/templates/main_index.html.j2 new file mode 100644 index 0000000..50f6b9d --- /dev/null +++ b/main/templates/main_index.html.j2 @@ -0,0 +1,4 @@ +{% extends "main_base.html.j2" %} +{% block content %} +<p>This is page is work in progress. Meanwhile check my stuff on the navbar at the top of the page.</p> +{% endblock %} diff --git a/main/templates/main_neighbors.html.j2 b/main/templates/main_neighbors.html.j2 new file mode 100644 index 0000000..dd81617 --- /dev/null +++ b/main/templates/main_neighbors.html.j2 @@ -0,0 +1,14 @@ +{% extends "main_base.html.j2" %} +{% block content %} +<h2 style="color: #dddddd; text-align: center">Visit these sites, they have way cooler (and more finished) webpages than me:</h2> +<div align="center"> + <a href="https://www.tar.dev/" target="_blank"><img src="/assets/image/neighbors/tarandir.gif" alt="tar.dev" title="tar.dev" style="width:88px;height:31px;"></a> + <br> + <p>A way cooler neighbor page coming soon... (I swear.)</p> +</div> +<h2 style="color: #dddddd; text-align: center">Fanlistings I'm part of:</h2> +<div align="center"> + <a href="http://fan.after-death.org/crows" target="_blank"><img src="/assets/image/fanlisting/crows.png" alt="http://fan.after-death.org/crows" title="http://fan.after-death.org/crows" style="width:50px;height:50px;"></a> + <a href="https://n7.redcrown.net" target="_blank"><img src="/assets/image/fanlisting/masseffect.png" alt="Mass Effect series fanlisting"></a> +</div> +{% endblock %} diff --git a/main/templates/main_sidebar.html.j2 b/main/templates/main_sidebar.html.j2 new file mode 100644 index 0000000..05ab83d --- /dev/null +++ b/main/templates/main_sidebar.html.j2 @@ -0,0 +1,8 @@ +<a href="/" class="icon-text"> + <img src="/assets/image/chip.svg" /> + <span>Home</span> +</a> +<a href="/neighbors.html" class="icon-text"> + <img src="/assets/image/chip.svg" /> + <span>Neighbors</span> +</a>
\ No newline at end of file |
