Skip to content

Commit

Permalink
Changed README
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavis2005 committed May 22, 2024
1 parent 2177151 commit bc5d52a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 6 deletions.
8 changes: 4 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions content/posts/2024-05-22-Philosophy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
+++
title = "Philosophy"
[taxonomies]
tags = ['Art of Exploitation']
+++

## What is Hacking?
Expand Down Expand Up @@ -45,3 +47,4 @@ The introduction and progression of intrusion detection systems (IDSs) is a prim




38 changes: 36 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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") }}`

0 comments on commit bc5d52a

Please sign in to comment.