From 9ca0b28639cd0235b5d4281f8464ee1aa84045ab Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 10 Mar 2023 00:03:52 +0100 Subject: [PATCH] update and improve site --- assets/scss/_darktheme.scss | 4 ++-- assets/scss/_footer.scss | 11 +++++++++ assets/scss/_table.scss | 6 ++--- assets/scss/_variables.scss | 2 ++ assets/scss/main.scss | 1 + content/contents.lr | 47 +++++++++++++++++++++++++++++++++++-- flowblocks/table.ini | 2 +- models/page.ini | 4 ++++ templates/layout.html | 2 +- templates/page.html | 1 + 10 files changed, 71 insertions(+), 9 deletions(-) create mode 100644 assets/scss/_footer.scss diff --git a/assets/scss/_darktheme.scss b/assets/scss/_darktheme.scss index 526c113..ecb274f 100644 --- a/assets/scss/_darktheme.scss +++ b/assets/scss/_darktheme.scss @@ -47,9 +47,9 @@ hr { } a[href] { - color: #1e8ad6; + color: $link_color; &:hover { - color: #3ba0e6; + color: $link_highlight; } } diff --git a/assets/scss/_footer.scss b/assets/scss/_footer.scss new file mode 100644 index 0000000..c2fcef4 --- /dev/null +++ b/assets/scss/_footer.scss @@ -0,0 +1,11 @@ +footer { + margin-top: 50px; + opacity: 0.8; + a[href] { + color: $font_color; + text-decoration: none; + &:hover { + color: $link_color; + } + } +} diff --git a/assets/scss/_table.scss b/assets/scss/_table.scss index c5d9421..c395d5e 100644 --- a/assets/scss/_table.scss +++ b/assets/scss/_table.scss @@ -22,9 +22,9 @@ table { a[href] { text-decoration: none; color: white; - } - a:hover{ - color: $animated_color; + &:hover{ + color: $animated_color; + } } } } diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss index 9ef5e0a..54d112a 100644 --- a/assets/scss/_variables.scss +++ b/assets/scss/_variables.scss @@ -5,3 +5,5 @@ $even_lighter_background_color: #353535; $font_color: #f5f1f0; $dark_color: #d8d8d8; $animated_color: #068de9; +$link_color: #1e8ad6; +$link_highlight: #3ba0e6; diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 94d117e..74f9ca0 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -4,4 +4,5 @@ // CSS @import "_table"; +@import "_footer"; @import "_darktheme"; diff --git a/content/contents.lr b/content/contents.lr index f9c1bbd..1297eb4 100644 --- a/content/contents.lr +++ b/content/contents.lr @@ -2,9 +2,9 @@ title: Awesome Ansible Roles --- body: -Hey there, +Hi there, -I love open-source and automation. So I wrote some ansible roles and published as open-source. Feel free to have a look at them. And if you like them, please feel free to use them and maybe leave a star at the repo or some feedback. +I love open source and automation. So I wrote some ansible roles and released them as open source. Feel free to have a look at them. And if you like them, feel free to use them. Leave a star at the repo or give me some feedback. --- table: @@ -20,6 +20,44 @@ galaxy_url: https://galaxy.ansible.com/do1jlr/gitea maintainance: well ---- license: BSD 3-Clause +#### table #### +name: Unbound +---- +gitrepo: https://github.com/roles-ansible/ansible_role_unbound.git +---- +galaxy_name: do1jlr.unbound +---- +galaxy_url: https://galaxy.ansible.com/do1jlr/unbound +---- +maintainance: true +---- +license: MIT +#### table #### +name: OpenSSH Server +---- +gitrepo: https://github.com/roles-ansible/ansible_role_sshd.git +---- +galaxy_name: do1jlr.sshd +---- +galaxy_url: https://galaxy.ansible.com/do1jlr/sshd +---- +maintainance: true +---- +license: MIT +#### table #### +name: + +Network Time Protocol +---- +gitrepo: https://github.com/roles-ansible/ansible_role_ntp +---- +galaxy_name: do1jlr.ntp +---- +galaxy_url: https://galaxy.ansible.com/do1jlr/ntp +---- +maintainance: true +---- +license: Apache-2 --- tabletitle: List of my ansible roles and in which state they are. --- @@ -35,3 +73,8 @@ name: test galaxy_name: ---- galaxy_url: +--- +trailer: + +I have all my roles on [github.com/roles-ansible/](https://github.com/roles-ansible/) and welcome any pull requests, questions and comments there. If you want to get away from Microsoft for a good reason, have a look at [backwesen.de/ansible/](https://backwesen.de/ansible/). As soon as Federation for Forgejo and Gitea is implemented, there will be a chance to interact about it. +If you like ansible and open source and are thinking about supporting one or more ansible roles or github workflows yourself, please feel free to drop me a line. diff --git a/flowblocks/table.ini b/flowblocks/table.ini index 0377af2..6e6ae70 100644 --- a/flowblocks/table.ini +++ b/flowblocks/table.ini @@ -30,6 +30,6 @@ width = 1/2 [fields.license] label = Maintainance Status type = select -choices = MIT,GPLv3,BSD 3-Clause,CC-BY-4.0,CC-BY-SA-4.0,proprietary +choices = MIT,GPLv3,BSD 3-Clause,CC-BY-4.0,CC-BY-SA-4.0,Apache-2,proprietary default = MIT width = 1/2 diff --git a/models/page.ini b/models/page.ini index 3ccc8b1..42a5016 100644 --- a/models/page.ini +++ b/models/page.ini @@ -18,3 +18,7 @@ type = string label = Our Ansible Roles type = flow flow_blocks = table + +[fields.trailer] +label = Trailing Words +type = markdown diff --git a/templates/layout.html b/templates/layout.html index a857680..c49b8a3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -20,6 +20,6 @@ {% block body %}{% endblock %} diff --git a/templates/page.html b/templates/page.html index 0dfa721..4c9e406 100644 --- a/templates/page.html +++ b/templates/page.html @@ -33,4 +33,5 @@ {% endif %} {% endif %} + {{ this.trailer }} {% endblock %}