This was going to be the Orbis Primus website. Based on simplicity and ease to use, this was going to serve several generations of Orbis Primus. Build using HTML, CSS, JS and PHP. No external dependencies exept fonts and icons.
The file structure is pretty simple. The webstie contains three main files: a header file, a main index file, and a footer file. All three files combined into one file with the PHP include command. If you need to change anything the the header, you only have to change the header file and so on.
Images are stored in the images
folder, plugins in the plugins
folder and so on.
Blog posts are read from a file directory stored in the same location as all the other files, in a folder called blog-posts
. The files are witten in Markdown (a simple google search will tell you everything about it) and are read with PHP and parsed by the Parsedown plugin. This means that by creating a file in the blog-posts
folder will automatically print out the post on the website without anyone needing to do anything.
All files are printed on the website in reverse alphabetical order. Meading that the post 1. Old Post
will be last, and the post 19. Recent Post
will be at the top.