Skip to content

HydPy/HydPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

49d2672 · Feb 28, 2025
Sep 7, 2024
Feb 11, 2025
Sep 7, 2024
Oct 13, 2018
Sep 7, 2024
Sep 7, 2024
Sep 7, 2024
Sep 7, 2024
Jul 3, 2017
Sep 7, 2024
Aug 25, 2016
Sep 7, 2024
Nov 20, 2024
Nov 20, 2024
Sep 7, 2024
Feb 16, 2025
Feb 28, 2025

Repository files navigation

HydPy Website

Website of HydPy - Hyderabad Python User Group

Dev Setup

The site uses jekyll a simple and popular static website generator which can be hosted via github pages. You can quickly start developing by pushing your code to the gh-pages branch of your repo. Then go to the Settings tab of your GitHub account, scroll down to the GitHub Pages section and choose gh-pages as source. But this will need you to push the code to gh-pages everytime you wish to test out a change.

We recommend doing development in offline. For that you need ruby to be installed in your local since jekyll is a ruby gem. Follow these steps for installation in local.

  1. Install Ruby 3.1.6 as per this installation guide. For Linux, Mac OSX it's preferable to use RVM and for Windows you can use RubyInstaller
  2. Run gem install bundler jekyll. This install bundler and jekyll.
  3. Run bundle install
  4. Run bundle exec jekyll serve to start the server
  5. Site is up and running! Go to localhost:4000

Adding Content

Event post

Create a Event post by creating a file called yyyy-mm-dd-name-of-post-like-this.markdown in the /_posts/ directory with the following template:

---
layout: post          #important: don't change this
title: "Name of post like this"
venue: "Location of event"
location: "google maps url link"
location-embedded: "google maps embedded url link"
date: yyyy-mm-dd hh:mm:ss
presenter: Name
meetup: "meetup link"
categories:
- python                #important: leave this here
- category1
- category2
- ...
img: post01.jpg       #place image (850x450) with this name in /assets/img/blog/
thumb: thumb01.jpg    #place thumbnail (70x70) with this name in /assets/img/blog/thumbs/
---
This text will appear in the excerpt "Event preview" on the Events page that lists all the posts.
<!--more-->
This text will not be shown in the excerpt because it is after the excerpt separator.

FAQ Question entry

Create a Question entry (that is listed in the Frequently Asked section on the Home page) in this directory by creating a file called yyyy-mm-dd-do-i-have-a-question.markdown in the /_faqs/ directory with the following template:

---
layout: question
title:  "Do I have a question?"
---

Can I use this theme for my website?
Of course you can!