pub / newsplanet

Planet-Style Newsfeed generated with perlanet
git clone https://src.jayvii.de/pub/newsplanet.git
Home | Log | Files | Exports | Refs | README | RSS

commit 25bd0138f8da8858f1118c4773e68fc271103b57
parent f9d7c2a45f5b9d7b304cba03ed3f1bd920bc4dd9
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 29 Mar 2025 12:44:11 +0100

fix: rename config files for ordering

Diffstat:
Mindex.php | 2+-
Rperlanetrc/mini-flash.yaml -> perlanetrc/01_flash.yaml.mini | 0
Rperlanetrc/01_pulse.yaml -> perlanetrc/02_pulse.yaml | 0
Rperlanetrc/02_tide.yaml -> perlanetrc/03_tide.yaml | 0
4 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php @@ -49,7 +49,7 @@ <table> <?php - foreach (glob("perlanetrc/[0-9]*_[a-z]*.yaml") as $yamlfile) { + foreach (glob("perlanetrc/[0-9a-z_]*.yaml") as $yamlfile) { $yaml = explode(PHP_EOL, file_get_contents($yamlfile)); $title_arr = array_values(preg_grep("/^title:.*$/", $yaml)); $title = preg_replace("/^title:\s*/", "", $title_arr[0]); diff --git a/perlanetrc/mini-flash.yaml b/perlanetrc/01_flash.yaml.mini diff --git a/perlanetrc/01_pulse.yaml b/perlanetrc/02_pulse.yaml diff --git a/perlanetrc/02_tide.yaml b/perlanetrc/03_tide.yaml