Skip to content

fredrikburmester/orbis-primus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbis Primus Website

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.

Getting started

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.

Reading/Creating Blog Posts

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.

Main Colors

About

Orbis Primus Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published