]> skyeroc.xyz Git - flatmark/commitdiff
adjust header-comments
authorelektrischerwalfisch <mail@elektrischerwalfisch.de>
Thu, 10 Apr 2025 20:54:06 +0000 (22:54 +0200)
committerelektrischerwalfisch <mail@elektrischerwalfisch.de>
Thu, 10 Apr 2025 20:54:06 +0000 (22:54 +0200)
config-basic.php
config-multilang.php
index.php
theme/css/style.css
theme/js/presets.js
theme/shortcodes.php

index 9302b4e453f73f20eb8aafe0b9c1038d6d064d9a..cfed2d38e80bd3aef74010ec4949f8ac65df2bb3 100644 (file)
@@ -1,12 +1,11 @@
 <?php
-    /**
-     * Project: FlatMark
-     * File: config-basic.php
-     * Description: Configuration for a single-language setup (basic configuration).
-     * Author: elektrischerwalfisch
-     * License: MIT (or another open-source license)
-     * Version: 1.0
-     */
+/**
+ * Basic Configuration for flatMark
+ *
+ * Defines language and page loading behavior for single-language sites.
+ *
+ * @package flatMark
+ */
 
     // Define page language
         $lang = 'de';
index 8223226ffd476127c3aa26184312f22230433dd9..0fc9e37afb51466a35e58b69864d4b205f979f70 100644 (file)
@@ -1,12 +1,11 @@
 <?php 
-    /**
-     * Project: FlatMark
-     * File: config-multilang.php
-     * Description: Configuration for multilingual setup (supports multiple languages).
-     * Author: elektrischerwalfisch
-     * License: MIT (or another open-source license)
-     * Version: 1.0
-     */
+/**
+ * Multilingual configuration for flatMark
+ *
+ * Defines language and page loading behavior for multi-language sites.
+ *
+ * @package flatMark
+ */
 
     // Define supported languages (first one is default)
         $supportedLanguages = ['en', 'de'];     
index 6886431778da678965a14a3047794746eef1d3ea..409c665a2d95951b62a495df3316d7c13876a817 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,13 +1,13 @@
 <?php
-    /**
    * Project: FlatMark
-     * File: index.php
-     * Description: Main entry point for the website. 
-     *              Dynamically loads Markdown content, basic or multilingual configuration and shortcode-settings.
    * Author: elektrischerwalfisch
-     * License: MIT (or another open-source license)
-     * Version: 1.0
    */
+/**
* Project: flatMark
+ * Version: 1.0
+ * 
+ * Project URI: https://github.com/elektrischerwalfisch/flatmark
+ * Author: elektrischerwalfisch
+ * Author URI: https://www.elektrischerwalfisch.de
+ * License: MIT (or another open-source license)
+ */
 
      // Start output buffering (prevents page to "jump" before everything is loaded)
         ob_start();
@@ -25,7 +25,7 @@
         $requestUri = trim($_SERVER['REQUEST_URI'], '/');
         $uriParts = explode('/', $requestUri);
 
-    // Multilingual setup. If your site is a single-language setup, change 'config-multilang.php' to 'config-basic.php'
+    // Multilingual setup. If your site is a single-language setup, change to 'config-basic.php'
         require 'config-multilang.php';
 
     // Read the content of the requested Markdown file into a string
index 22b48b8e56ee005ada11b660a423789265a5b869..fbc2443b8613bb147dcbabcb4ca82e06d783c153 100644 (file)
@@ -1,3 +1,10 @@
+/**
+* Stylesheet for flatMark theme
+* 
+* @package flatMark
+* @subpackage Theme
+*/
+     
 /* FONTS */
 
 @font-face {
@@ -132,7 +139,7 @@ h3 {font-size: var(--fontsize-l); font-weight: 700;}
 
 h2, h3, p, ul, ol {margin-bottom: var(--space-below-01);}
 
-a {color: var(--color-01); text-decoration: underline;}
+a {color: var(--color-02); text-decoration: underline;}
 a:hover {text-decoration: none;outline: 0;}
 ul {list-style: none;}
 img {border: none;max-width: 100%;height: auto;}
index a3c46ac6d47f4d2417ffc9eb4e676b7b67f207c5..c8c7047b80a2e717a2e83154d2e2e9828a6fcdb2 100644 (file)
@@ -1,3 +1,10 @@
+/**
+* JavaScript functions for flatMark theme
+* 
+* @package flatMark
+* @subpackage Theme
+*/
+
 document.addEventListener("DOMContentLoaded", function() {
     
 // HEADER: generate toggle-button, nav-wrapper and set variables
index 181912cfa6e781afe8273c76d1912ae28a19ec6b..afd66b2a19370b493926d00bcca2c70e9fd0982a 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * Shortcode definitions and handlers.
+ * 
+ * @package flatMark
+ * @subpackage Theme
+ */
 
     function processShortcodes($markdown) {