Project Context: Megat’s Website (Jekyll)
Project Overview
This project is a personal static website for Megat Iskandar Hashim Bin Ismail, hosted on GitHub Pages (megatih.github.io). It is built using Jekyll and utilizes the Beautiful Jekyll theme by Dean Attali.
The site features a blog, an “About Me” section, and links to various social media profiles.
Building and Running
Prerequisites
- Ruby
- Bundler
Commands
- Install Dependencies:
bundle install - Run Local Server:
bundle exec jekyll serveThe site will be available at
http://localhost:4000.
Development Conventions
Content Management
- Blog Posts:
- Located in
_posts/. - Filename format:
YYYY-MM-DD-title.md(e.g.,2025-10-29-setting-up-ubuntu.md). - Front Matter: Must include
layout: post,title,subtitle, andtags.
- Located in
- Pages:
- Located in the root directory (e.g.,
aboutme.md). - Front Matter: Must include
layout: pageandtitle.
- Located in the root directory (e.g.,
Configuration
- Main Config:
_config.ymlcontrols site-wide settings like title, author, navigation links (navbar-links), social links, and enabled plugins. - Theme: The project uses the
beautiful-jekyll-theme. Custom styles can be added toassets/css/if configured in_config.yml, though the theme primarily usesassets/css/beautifuljekyll.css.
Assets
- Images: Store in
assets/img/. - CSS/JS: Located in
assets/css/andassets/js/.
Key Directories
_layouts/: HTML templates for different page types (post,page,home)._includes/: Reusable HTML snippets (e.g.,header.html,footer.html, social links)._data/: Data files (currentlyui-text.yml).