A multilingual Hugo-based personal website with portfolio, blog, and about sections.
Languages: English (default) | Deutsch
Install Hugo (extended version):
# Fedora
sudo dnf install hugo
# macOS
brew install hugo
# Or download from https://gohugo.io/installation/# Clone this repo
git clone https://github.com/Man2Dev/Man2Dev.github.io.git
cd Man2Dev.github.io
# Add PaperMod theme as submodule
git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperModhugo server -D
# Visit http://localhost:1313- Push to your
Man2Dev.github.iorepository - Go to Settings → Pages → Source: GitHub Actions
- The site will auto-deploy on every push to
main
.
├── content/
│ ├── about.md # English About page
│ ├── about.de.md # German About page
│ ├── blog/
│ │ ├── _index.md # English blog index
│ │ ├── _index.de.md # German blog index
│ │ ├── *.md # English posts
│ │ └── *.de.md # German posts
│ └── portfolio/
│ ├── _index.md # English portfolio index
│ ├── _index.de.md # German portfolio index
│ ├── *.md # English projects
│ └── *.de.md # German projects
├── hugo.toml # Site configuration
└── .github/workflows/ # Auto-deployment
hugo new blog/my-new-post.mdFor German version, create content/blog/my-new-post.de.md
hugo new portfolio/my-project.mdFor German version, create content/portfolio/my-project.de.md
- English is the default language (no URL prefix)
- German pages are available at
/de/... - A language switcher is available in the navigation
For any content file example.md, create example.de.md in the same directory with translated content.
Edit hugo.toml to change:
- Site title and description (per language)
- Social links
- Menu items (per language)
- Theme settings
- Home page content (per language)
Using PaperMod - a fast, clean Hugo theme.
See PaperMod documentation for more customization options.
Content © Mohammadreza Hendiani. Theme: GPL-3.0-or-later License.