A personal tech blog built with Hugo and the Devise theme. This blog focuses on iOS development, debugging techniques, and technical insights.
Visit the blog at: https://amin.benarieb.com
This blog covers various topics including:
- iOS development tips and tricks
- Debugging techniques and tools
- Development productivity improvements
- Open source contributions
- Technical tutorials and guides
- Static Site Generator: Hugo
- Theme: Devise
- Deployment: GitHub Pages (via
publicdirectory) - Analytics: Google Analytics
- Comments: Disqus (configured but not active)
- Hugo installed on your system
- Git
-
Clone the repository
git clone https://github.com/aminbenarieb/techblog.git cd techblog -
Install Hugo theme (if not already present)
git submodule add https://github.com/aos/tale-hugo.git themes/devise
-
Start the development server
hugo server -D
-
View the site Open your browser and navigate to
http://localhost:1313
hugo --minifyThe generated site will be in the public/ directory, ready for deployment.
├── archetypes/ # Hugo content templates
├── assets/ # Static assets (images, favicon, etc.)
├── content/ # Blog posts and content
│ └── posts/ # Individual blog posts
├── css/ # Custom CSS styles
├── images/ # Blog images
├── static/ # Static files served directly
├── hugo.toml # Hugo configuration
├── CNAME # Custom domain configuration
└── LICENSE # CC0 License
-
Create a new post
hugo new posts/your-post-title.md
-
Edit the front matter in the generated file:
--- title: "Your Post Title" date: 2023-12-01T10:00:00+01:00 draft: false ---
-
Write your content in Markdown
-
Add images to the
static/images/directory and reference them:
The blog uses the Devise theme with customizations in hugo.toml:
- Site Title: "Amin Benarieb's Blog"
- Header Subtitle: "iOS dev"
- Social Links: GitHub, LinkedIn, Twitter
- Color Scheme: Light theme with custom background and font colors
Edit the [[params.social]] sections in hugo.toml:
[[params.social]]
fa_icon = "fab fa-github fa-1x"
href = "https://github.com/yourusername"This blog is deployed to GitHub Pages using the public directory:
-
Build the site
hugo --minify
-
Commit and push the
publicdirectory to your repository -
Configure GitHub Pages to serve from the
publicdirectory
The site is automatically available at your custom domain: amin.benarieb.com
This project is licensed under the CC0 1.0 Universal - Creative Commons Public Domain Dedication.
While this is a personal blog, suggestions and improvements are welcome! Feel free to:
- Open issues for bugs or suggestions
- Submit pull requests for improvements
- Share feedback on content
- Website: amin.benarieb.com
- GitHub: @aminbenarieb
- LinkedIn: Amin Benarieb
- Twitter: @amin_benarieb
Built with ❤️ using Hugo and the Devise theme