From fdec01adedae0ca243b30df583f9b0f8ff55748f Mon Sep 17 00:00:00 2001 From: Bruno <103858681+EsseLowNitro@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:15:54 -0300 Subject: [PATCH] [fix] polished markdown alerts, take #5 --- _includes/alert.html | 13 +++++++++---- content/INSTALL.md | 4 +++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/_includes/alert.html b/_includes/alert.html index a1ec0e1..7f6d5d8 100644 --- a/_includes/alert.html +++ b/_includes/alert.html @@ -1,4 +1,5 @@ -{% assign text = include.content | split: '
' %} +{% assign text = include.content | split: ' +' %}

@@ -19,9 +20,13 @@ {{ include.type | capitalize }} {% for line in text %} -

- {{ line }} -

+ {% if line != '' %} +

+ {{ line }} +

+ {% else %} +
+ {% endif %} {% endfor %}

\ No newline at end of file diff --git a/content/INSTALL.md b/content/INSTALL.md index f4401ab..6c0aeab 100644 --- a/content/INSTALL.md +++ b/content/INSTALL.md @@ -15,7 +15,9 @@ 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.' %}