A Hugo static website for högskoleprovet.nu, now deployed with GitHub Pages.
This is a Hugo-based static website that provides training materials and resources for the Swedish Högskoleprovet (University Admissions Test).
This site is configured to automatically deploy to GitHub Pages using GitHub Actions.
Configure Custom Domain (Optional):
To use your custom domain (www.högskoleprovet.nu):
a. In your repository settings:
www.xn--hgskoleprovet-imb.nu (the punycode version of högskoleprovet.nu)b. Update DNS settings with your domain registrar:
www to <your-github-username>.github.io185.199.108.153185.199.109.153185.199.110.153185.199.111.153c. Update config.toml:
master branch triggers automatic deploymentIf you want to test the build locally before pushing:
# Install Hugo (if not already installed)
# On macOS:
brew install hugo
# Build the site
hugo
# Test locally
hugo server
Visit http://localhost:1313 to preview the site.
├── archetypes/ # Content templates
├── content/ # Site content (markdown files)
│ ├── blogg/ # Blog posts
│ └── pages/ # Static pages
├── static/ # Static files (images, etc.)
├── themes/ # Hugo theme
│ └── hpskolan/ # Custom theme
├── .github/ # GitHub Actions workflows
│ └── workflows/
│ └── deploy.yml # Automated deployment workflow
└── config.toml # Hugo configuration
git clone https://github.com/<your-username>/hpskolan-public.git
cd hpskolan-public
npm install
hugo server -D
Make your changes and test locally
git add .
git commit -m "Your changes"
git push origin master
Create a new blog post:
hugo new blogg/your-post-name.md
Create a new page:
hugo new pages/your-page-name.md
The main configuration file is config.toml. Key settings:
baseURL: The URL where your site will be hostedtitle: Site titletheme: Hugo theme name (hpskolan)languageCode: Language setting (se-SE)This site uses a custom theme located in themes/hpskolan/. The theme includes:
This site was previously hosted on AWS S3/CloudFront. The following files are now deprecated:
deploy.sh - Old AWS deployment scripttemplate.yml - CloudFormation templatetemplate-lambda.yml - Lambda function templateThese files have been kept for reference but are no longer used.
For questions or issues, please open an issue in the GitHub repository.
[Add your license information here]