From 13cec3d0fc257d0e65c9a1c06bfc71648722a506 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Fri, 2 Feb 2024 13:05:54 -0500 Subject: Initial commit for cgit platform --- content/_pages/adding-pages.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 content/_pages/adding-pages.md (limited to 'content/_pages/adding-pages.md') diff --git a/content/_pages/adding-pages.md b/content/_pages/adding-pages.md new file mode 100644 index 0000000..433ffe0 --- /dev/null +++ b/content/_pages/adding-pages.md @@ -0,0 +1,21 @@ +# Adding Custom Pages + +To add your own custom pages, simply create a Markdown file under the `content/_pages` directory. PHPetite will take it from there! + +## Some Caveats + +Any page you create will be automatically added to the `footer` navigation section. If you wish to hide individual pages from showing in the `footer`, do so via CSS: + +```.css +footer a.slug-name-of-your-page { + display: none; +} +``` + +If you want to remove the `footer` navigation altogether, add the following to your `style.css` file: + +```.css +footer .footer-links { + display: none; +} +``` \ No newline at end of file -- cgit v1.2.3-54-g00ecf