+ get("quicklink_list") as $one_quicklink){ ?>
+ " target="_blank" class="button big = $one_quicklink["color"] ?>">
+ ">
+
+
+ = $one_quicklink["name"] ?>
+ = $one_quicklink["extra"] ?>
+
+
+
+ diff --git a/README.md b/README.md index 4eb31eb..978753a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # www.thi-hub.de A simple hub for relevant THI student links + + + +### Use as Embed +The quicklink buttons can be embedded into external tools like this: +```html + +``` diff --git a/meta.php b/meta.php index 3138396..983375d 100644 --- a/meta.php +++ b/meta.php @@ -1,6 +1,6 @@ "", "target" => "page/start"], - ["path" => ":lang", "target" => "page/start"], + // start + ["path" => "", "target" => "page/start"], + ["path" => ":lang", "target" => "page/start"], + + // embed + ["path" => "embed", "target" => "page/embed"], + ["path" => ":lang/embed", "target" => "page/embed"], ]; ?> diff --git a/page/embed/index.php b/page/embed/index.php new file mode 100644 index 0000000..b460655 --- /dev/null +++ b/page/embed/index.php @@ -0,0 +1,27 @@ +get("title")); + Page::description(Data::$dict->get("description")); + + Page::robots(index: false, follow: false); +?> + + + + + +