How itgpg/it works
Project type and purpose
• This is a static website for the IT Department of Government Polytechnic Gandhinagar, built with Jekyll (Ruby‐based static site generator), deployed on GitHub Pages, and featuring modular JavaScript for dynamic data loading from Google Drive.
File structure
• Top‐level Jekyll directories:
• _config.yml – global config
• _includes/ – reusable HTML snippets (navbar, footer)
• _layouts/ – page templates (default, event)
• _events/ – event pages in Markdown
• .frontmatter/database/ – JSON “mediaDb” and “taxonomyDb” for dynamic data
• _data/ – JSON data (e.g., toppers_list.json)
• Static pages and content folders:
• co-curricular/, student-corner/, faculty/, contributors/, newsletter/ – each with their own index.html
• Root HTML pages: index.html, events.html, robots.txt, sitemap.xml
• Asset pipeline:
• assets/css/ – component CSS + page‐specific CSS
• assets/js/ – modular JS (components, page controllers, utils, config)
• assets/images/
• Build/deployment:
• Gemfile & .bundle/ – Ruby gems (Jekyll, plugins)
• Deployment: GitHub Actions or direct Git push → GitHub Pages
README for additional insights
• Modular, scalable static site with Jekyll templating
• Dynamic “YouTube‐style” study materials via Google Drive API
• Future‐proof event system (Markdown or Google Sheet)
• SEO optimized (sitemap.xml, robots.txt)
• Fully responsive design, mobile first