diff --git a/config.toml b/config.toml index 8732e29..3338897 100644 --- a/config.toml +++ b/config.toml @@ -38,10 +38,10 @@ twitter_card = true header_nav = [ { url = "https://exploiitm.github.io/", name_en = "home" }, - { url = "/", name_en = "blog"}, - { url = "/resources", name_en = "resources"}, - { url = "/posts", name_en = "posts"}, - { url = "/about" ,name_en = "about"} + { url = "/blog", name_en = "blog"}, + { url = "/blog/resources", name_en = "resources"}, + { url = "/blog/posts", name_en = "posts"}, + { url = "/blog/about" ,name_en = "about"} ] # Optional footer license text. It will only show, when using footer_content_license. diff --git a/content/posts/2024-05-22-Philosophy.md b/content/posts/2024-05-22-Philosophy.md index 20dc1e6..d46f1cf 100644 --- a/content/posts/2024-05-22-Philosophy.md +++ b/content/posts/2024-05-22-Philosophy.md @@ -1,5 +1,7 @@ +++ title = "Philosophy" +[taxonomies] +tags = ['Art of Exploitation'] +++ ## What is Hacking? @@ -45,3 +47,4 @@ The introduction and progression of intrusion detection systems (IDSs) is a prim + diff --git a/readme.md b/readme.md index 9f4c1a6..d9f6fa7 100644 --- a/readme.md +++ b/readme.md @@ -1,2 +1,36 @@ -# blog -Official blog for Cybersecurity Club, IITM. +# How to Contribute + +For all practical purposes, all the content goes to `./content` folder. It contains the static markdown files that are converted to HTML + +Inside `content`, a new page can simply be created by creating a new `.md` file. They need to have a TOML header that goes in the following format. + +``` ++++ ++++ +``` + +Even if the contents inside this is empty, the delimiters need to be there. + +Mostly try avoiding creating pages in the root folder (i.e. `content` folder). + + +## Resources folder + +Rules follow as above. Title is necessary else the page is ignored. Despite it being sorted by title, the date is still necessary in the above format to show the publish date. + +Logic for the TOML follows from above. + +## Adding media + +To add an image, the following snippet suffices. + +`{{ img(id="/path/from/content/folder.png", alt="Alt Text", class="textCenter") }}` + + +To add a youtube video, this one works + +`{{ youtube(id="The id of the video", class="textCenter") }}` + +To add a link to go to the top of the page, put this at the bottom. + +`{{ webring(webring="#", webringName="Go to the Top") }}`