From 5a07c8ddfe2a2d1f6d8af67a4d8b70e6ddfc2a9a Mon Sep 17 00:00:00 2001 From: Bruno <103858681+EsseLowNitro@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:50:47 -0300 Subject: [PATCH] [fix] no syntatic sugar for alert includes :( --- _includes/alert.html | 10 ++++------ content/IMAGES.md | 8 ++------ content/INSTALL.md | 4 +--- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/_includes/alert.html b/_includes/alert.html index ed16690..82f1738 100644 --- a/_includes/alert.html +++ b/_includes/alert.html @@ -1,4 +1,4 @@ -{% assign text = include.content | split: '' %} +{% assign text = include.content | split: '
' %}

@@ -19,11 +19,9 @@ {{ include.type | capitalize }} {% for line in text %} - {% if line != '' %} -

- {{ line }} -

- {% endif %} +

+ {{ line }} +

{% endfor %}

\ No newline at end of file diff --git a/content/IMAGES.md b/content/IMAGES.md index 54bf609..98c0e65 100644 --- a/content/IMAGES.md +++ b/content/IMAGES.md @@ -41,9 +41,7 @@ Table of Contents {% include alert.html type='note' content='This is a relative recommendation between the desktop environments available on secureblue. GNOME has some extra security niceties like the ones listed below. It however does not solve any of the fundamental issues with desktop linux security.' %} -{% include alert.html type='caution' content='Silverblue utilizes GNOME, which is the only desktop that secures privileged wayland protocols like screencopy. This means that on non-GNOME systems, applications can access screen content of the entire desktop. This implicitly includes the content of other applications. It\'s primarily for this reason that GNOME images are recommended. KDE has plans to fix this. - -GNOME also provides thumbnailer sandboxing in Gnome Files, which mitigates attacks via thumbnailers.' %} +{% include alert.html type='caution' content='Silverblue utilizes GNOME, which is the only desktop that secures privileged wayland protocols like screencopy. This means that on non-GNOME systems, applications can access screen content of the entire desktop. This implicitly includes the content of other applications. It\'s primarily for this reason that GNOME images are recommended. KDE has plans to fix this.
GNOME also provides thumbnailer sandboxing in Gnome Files, which mitigates attacks via thumbnailers.' %} ### Stable @@ -112,9 +110,7 @@ GNOME also provides Fedora CoreOS installation, you will need to disable `zincati.service` before rebasing to securecore. -' %} +{% include alert.html type='note' content='After you finish setting up your Fedora CoreOS installation, you will need to disable `zincati.service` before rebasing to securecore.' %} | Name | Base | Nvidia Support | ZFS Support | |-------------------------------------------|-----------|-------------------------|-------------| diff --git a/content/INSTALL.md b/content/INSTALL.md index 4674784..a4c6151 100644 --- a/content/INSTALL.md +++ b/content/INSTALL.md @@ -15,9 +15,7 @@ The following is advice on what to do before and during the installation of a Fe {% include alert.html type='note' content='The cross-platform Fedora Media Writer is the official, tested and supported method for the creation of bootable media. Instructions (alongside a word on alternative methods) are available here.' %} -{% include alert.html type='tip' content='If you don\'t already have a Fedora Atomic installation, use a Fedora Atomic ISO that matches your secureblue target image to install one. If you want to use a secureblue Silverblue image, start with the Fedora Silverblue ISO, Kinoite for Kinoite, Sericea (Sway Atomic) for Sericea and all the Wayblue images, and CoreOS for all the securecore images. - -For more details on the available images, have a look at the list of available images before proceeding.' %} +{% include alert.html type='tip' content='If you don\'t already have a Fedora Atomic installation, use a Fedora Atomic ISO that matches your secureblue target image to install one. If you want to use a secureblue Silverblue image, start with the Fedora Silverblue ISO, Kinoite for Kinoite, Sericea (Sway Atomic) for Sericea and all the Wayblue images, and CoreOS for all the securecore images.
For more details on the available images, have a look at the list of available images before proceeding.' %} {% include alert.html type='caution' content='The Fedora 41 ISO contains a bugged version of rpm-ostree. As such, after using it to install Fedora Atomic, you must run rpm-ostree upgrade and then restart, before running the secureblue installer.' %}