diff options
| Commit | 7351d297dba7f16b7517ca05e3ea6bfc096c4fca (patch) | |
|---|---|---|
| Author | 2023-04-24 14:28:55 +0300 | |
| Committer | 2023-04-24 14:28:55 +0300 | |
| Files | bc2444f019074c9ea36818221e0171f573d2a02e /awk-edits | |
| syndamia.com-7351d297dba7f16b7517ca05e3ea6bfc096c4fca.tar syndamia.com-7351d297dba7f16b7517ca05e3ea6bfc096c4fca.tar.gz syndamia.com-7351d297dba7f16b7517ca05e3ea6bfc096c4fca.zip | ||
| Parent | 2200cae00d5d58d1dd05857ad134babde4517f0e (diff) | |
[img] Renamed all -tabler icons to not have -tabler
3 files changed, 10 insertions, 10 deletions
| -rw-r--r-- | awk-edits/File-lists.awk | 10 | ||||
| -rw-r--r-- | awk-edits/Heading-anchors.awk | 2 | ||||
| -rw-r--r-- | awk-edits/Presentation.awk | 8 |
diff --git a/awk-edits/File-lists.awk b/awk-edits/File-lists.awk index 8903b95..b18d634 100644 --- a/awk-edits/File-lists.awk +++ b/awk-edits/File-lists.awk @@ -100,15 +100,15 @@ BEGIN { flrepl[4] = "" # Not used, refer to fileSubstitute function flname[5] = "ft-photo" - flrepl[5] = "photo-tabler.svg" + flrepl[5] = "photo.svg" flname[6] = "ft-text" - flrepl[6] = "file-text-tabler.svg" + flrepl[6] = "file-text.svg" flname[7] = "ft-zip" - flrepl[7] = "file-zip-tabler.svg" + flrepl[7] = "file-zip.svg" flname[8] = "ft-movie" - flrepl[8] = "movie-tabler.svg" + flrepl[8] = "movie.svg" flname[9] = "ft-markdown" - flrepl[9] = "markdown-tabler.svg" + flrepl[9] = "markdown.svg" for (i = 1; i <= length(flname); i++) { flpat[i] = "&&" flname[i] diff --git a/awk-edits/Heading-anchors.awk b/awk-edits/Heading-anchors.awk index e4367c7..34c8104 100644 --- a/awk-edits/Heading-anchors.awk +++ b/awk-edits/Heading-anchors.awk @@ -8,5 +8,5 @@ /[ \t]*<h[23456]/ { id = substr($0, index($0, "id=\"") + 4) id = substr(id, 0, index(id, "\"") - 1) - gsub(/$/, ORS "<a class=\"h-anchor\" href=\"#" id "\"><img src=\"/img/link-tabler.svg\" alt=\"🔗\" loading=\"lazy\"></a>") + gsub(/$/, ORS "<a class=\"h-anchor\" href=\"#" id "\"><img src=\"/img/link.svg\" alt=\"🔗\" loading=\"lazy\"></a>") } diff --git a/awk-edits/Presentation.awk b/awk-edits/Presentation.awk index fc18e85..eb923ad 100644 --- a/awk-edits/Presentation.awk +++ b/awk-edits/Presentation.awk @@ -154,12 +154,12 @@ BEGIN { pres = ORS \ "<nav id=\"presentCont\">" ORS \ -" <img id=\"prevSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-left-tabler.svg\" alt=\"Previous\">" ORS \ +" <img id=\"prevSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-left.svg\" alt=\"Previous\">" ORS \ " <a id=\"slideIndex\" class=\"nodisplay\" href=\"#slide-0\">0</a>" ORS \ -" <img id=\"nextSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-right-tabler.svg\" alt=\"Next\">" ORS \ +" <img id=\"nextSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-right.svg\" alt=\"Next\">" ORS \ " <img id=\"articleBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/article.svg\" alt=\"Show as article\">" ORS \ -" <img id=\"presentBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/presentation-tabler.svg\" alt=\"Present\">" ORS \ -" <img id=\"printBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/printer-tabler.svg\" alt=\"Print\">" ORS \ +" <img id=\"presentBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/presentation.svg\" alt=\"Present\">" ORS \ +" <img id=\"printBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/printer.svg\" alt=\"Print\">" ORS \ " </nav><br><br>" ORS \ " <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-PoIbgOwiicYREcbrrt+nQUZV+/goInUOpP3f7I7H6Rba7Ww6CkTbM7MRQnMnQn1yvJVdcLNXE5LsYMjT6+HEZA==\" crossorigin=\"anonymous\"></script>" |