table of contents
To make yourselves familiar with the static site generator, while working with layouts, we recommend going through the documentation.
Posts can be written normally in accordance to the CommonMark markdown specifications found here
A guide to install and use "anna", the custom static-site generator used to build this site, can be found here.
Before getting started, you need git ssh setup on your system. You will need to generate an ssh key which you can find here by following the necessary steps mentioned. After this you will need to add the new ssh key to your github account. To test the setup, run the following command
ssh -T [email protected]
You will be given a prompt similar to what is given below
> The authenticity of host 'github.com (IP ADDRESS)' can't be established.
> ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
> Are you sure you want to continue connecting (yes/no)? yes
This message below confirms the setup
> Hi USERNAME! You've successfully authenticated, but GitHub does not
> provide shell access.
Refer to the following article regarding writing conventional git commit messages to make it easier for the maintainers to understand the PRs and progress.
This is only for HSP Members
- Any small writeup on the inspiration, thought process behind the designs would be appreciated
- Design posts can be added under
site/content/design/EVENT_NAME.md
and must follow the following frontmatter template
---
title: EVENT NAME
date: "YYYY-MM-DD"
tags: [TAG-1, TAG-2]
collections: [design]
description: ...
authors: ["Author Name 1", "Author Name 2"]
previewimage: path to a square preview image
layout: design
---
- Inorder to include grid based images similar to what is on display in the
/gallery
page of the site, place all images inside a div in the markdown file as follows
// snip of a blog
<div class="img-grid">
![alt text for image - necessary](path_to_image)
![alt text for image - necessary](path_to_image)
![alt text for image - necessary](path_to_image)
</div>
Do keep in mind the mandatory spaces between each of the image lines!
This is only for HSP Members
To add your name to the list of members section of the site, follow these steps
- Add a
markdown
file tosite/content/members
. For example
touch site/content/members/YOURNAME.md
- Add a frontmatter to the markdown file
---
title: YOUR NAME
description: TEAM NAME
collections: ["members>YEAR", ...]
previewimage: url_to_your_image
customFields:
- SocialsName: url_to_your_profile
- ...
---
Note
SocialsName
could either be Linkedin
, Github
, Instagram
, X
, etc. If you would like to link any other social account,
add the key name, and also save an svg of the icon to that social provider at /static/icons/SocialsName.svg
,
otherwise there wouldn't be any icons available to display.