- Created a new layout for projects with sections for hero, projects, roadmap, selection criteria, and a call to action. - Added a single page layout for individual project details, including a hero section and content area. - Introduced a brand highlight partial to emphasize "TheAfriForge" in text. - Implemented an icon partial for reusable SVG icons across the site. - Developed a site header and footer with navigation and legal links, adapting for language variations. - Enhanced the index layout with sections for hero, stats, pillars, projects, and members. - Added a development script to load environment variables and run Hugo with optional arguments.
12 lines
237 B
Bash
12 lines
237 B
Bash
#!/bin/sh
|
|
# Load .env variables and run hugo with optional args
|
|
# Usage: ./scripts/dev.sh [hugo args...]
|
|
# Example: ./scripts/dev.sh serve --port 1313
|
|
|
|
if [ -f .env ]; then
|
|
set -a
|
|
. ./.env
|
|
set +a
|
|
fi
|
|
|
|
hugo --config ./hugo.toml "$@"
|