From: bochard Date: Tue, 5 Aug 2025 14:10:57 +0000 (+0800) Subject: list all entries in my journal X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=d5398d87b55aa6726daba276a721d42652863ce7;p=mysite.git list all entries in my journal --- diff --git a/journal/index.php b/journal/index.php index 242052f..731b074 100644 --- a/journal/index.php +++ b/journal/index.php @@ -2,7 +2,8 @@ require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php"); $pgtitle = "My Thoughts"; $pgdescription = "This page serves as my space to write down my opinion, what I feel, and some random things that worth writing down."; - head($pgtitle, $pgdescription); + $pgcss = ["journal.css"]; + head($pgtitle, $pgdescription, $pgcss); ?> @@ -10,7 +11,37 @@ diff --git a/stylesheets/journal.css b/stylesheets/journal.css index b837756..ac93dfb 100644 --- a/stylesheets/journal.css +++ b/stylesheets/journal.css @@ -1,3 +1,7 @@ +.entry-list-item { + color: darkgreen; + font-style: italic; +} .entry-title { margin-bottom: 0; }
- +

My Journal

+

Feel free to read them. Please don't mind the grammatical mistakes, I am not a native English speaker but I'll do my best to improve my vocabulary and writing so I could express more my thoughts.

+ +

List of entries:

+
    + $filename) { + $url = "/journal/$filename"; + $entryName = date("F j, Y", strtotime($date)); + echo "
  • $entryName
  • \n"; + } + ?> +