Bootstrap 3 Admin Template with Services and Recent Works - Initio
A Hugo theme based on the Bootstrap 3 Initio template, featuring services, recent works, clients, and download sections.
By miguelsimoni miguelsimoni/hugo-initio 89 stars
Introduction
Initio is a Hugo theme that brings the Bootstrap 3 Initio template to Hugo sites. It provides a ready‑made layout for business websites with sections such as services, recent works, client logos, and a download button. The theme is responsive and works with Hugo 0.80 or newer.
What this project offers
- A complete set of HTML layouts and partials for a business‑style website.
- Ready‑to‑use sections for services, recent works carousel, client logos, and a download call‑to‑action.
- Integration points for Disqus comments, Google Analytics, and ShareThis social sharing.
- Simple configuration through the Hugo
config.tomlfile.
Main features
- Services section
- Recent Works carousel
- Clients logos block
- Download button
- Header navigation and footer widgets
- Disqus comment support
- Google Analytics tracking
- ShareThis social sharing
Technology stack
- Bootstrap 3 (CSS framework)
- jQuery (JavaScript library)
- Hugo (static site generator)
- HTML, CSS, JavaScript
Requirements
- Hugo 0.80 or newer
- (Optional) Node.js if you want to run additional front‑end tooling, but the theme does not require a build step.
Installation
Follow these steps after downloading the ZIP file initio-hugo-theme.zip (available from the repository’s releases page).
- Extract the ZIP file to a location you can access from the command line.
$ unzip initio-hugo-theme.zip
- Copy the theme into your Hugo site. Replace
<your-hugo-site>with the path to the root of your Hugo project.
$ cp -R hugo-initio <your-hugo-site>/themes/initio
- Add the theme to your site’s configuration. Open
<your-hugo-site>/config.toml(or create it) and set the theme name.
theme = "initio"
- Add example content (optional). The repository includes an
exampleSitefolder with sample content and a ready‑madeconfig.toml. You can copy itscontent/,data/, andstatic/folders into your site to see the theme in action.
$ cp -R exampleSite/content <your-hugo-site>/content
$ cp -R exampleSite/data <your-hugo-site>/data
$ cp -R exampleSite/static <your-hugo-site>/static
$ cp exampleSite/config.toml <your-hugo-site>/config.toml
- Run Hugo’s built‑in server to preview the site locally.
$ cd <your-hugo-site>
$ hugo server
Open http://localhost:1313/ in a browser to view the site.
- Generate the static site for deployment when you are ready.
$ hugo
The generated files appear in the public/ directory and can be uploaded to any static‑hosting provider (GitHub Pages, Netlify, etc.).
Configuration
All configurable options are stored in config.toml. The example configuration shows the most common toggles:
showSubheader = true
showServices = true
showRecentWorks = true
showDownload = true
showClients = true
footerEnableContact = true
footerEnableFollowme = true
footerEnableTextWidget = false
footerEnableFormWidget = false
Social network icons are defined in a params.social array:
[[params.social]]
title = "facebook"
url = "https://www.facebook.com/yourpage"
icon = "fa-facebook-square"
footer = true
sharethis = true
network = "facebook"
Disqus, Google Analytics, and other services are also configured in config.toml as shown in the README.
Customizing the project
- HTML layouts are located under
layouts/. Edit files such aslayouts/_default/single.htmlor any partial inlayouts/partials/to change the structure. - Styling is in
static/css/styles.css. Add your own CSS rules or replace the file to redesign the look. - JavaScript lives in
static/js/. The main script istemplate.js; you can extend it or add new scripts as needed. - Images are stored in
static/images/andimages/. Replace them with your own assets while keeping the same filenames or update the references in the templates.
Project structure
LICENSE.md
README.md
archetypes/
exampleSite/
config.toml
content/
data/
static/
images/
layouts/
404.html
_default/
list.html
single.html
about/
single.html
index.html
partials/
*.html
static/
css/
styles.css
js/
html5shiv.js
template.js
theme.toml
Tips
- Use Hugo’s
hugo server -Dflag to include draft content while testing. - Keep the
public/folder out of version control; it is generated each time you runhugo. - When deploying to GitHub Pages, push the contents of
public/to thegh-pagesbranch or use a workflow that builds the site automatically.
License and attribution
This theme is released under the MIT License. See the full license file at https://github.com/miguelsimoni/hugo-initio/blob/master/LICENSE.md. When redistributing or modifying the theme, keep the license file and give credit to the original author, Miguel Simoni, and the upstream Initio template designers.
Use this prompt with an AI coding assistant (Claude Code, Cursor, Copilot, ChatGPT and similar).
- Download the ZIP and extract it where your new project will live.
- Download the ZIP and extract it next to your project, so the assistant can read both.
- Fill in the bracketed parts under “About my project”.
- Paste the prompt into your assistant and review each change it proposes.
# Start a new project with Initio ## Your task You are a senior frontend engineer. We are building a new project using Initio, a website template built with Bootstrap, as the starting point. Keep its design and turn the demo into a clean, real codebase that I can maintain. ## About my project - What I'm building and for whom: [describe it] - Pages I need: [list them] - Stack: [keep it as plain static files, or name one: Vite / Laravel / Next.js / Astro] - Brand: [name, colours, fonts, logo] # Initio — project brief ## Source project Initio is a Hugo theme that ports the Bootstrap 3 Initio template. It uses Bootstrap 3 (≥ 3.3.4) together with jQuery to provide a responsive business‑website layout. The project is a static site template for Hugo. Repository: https://github.com/miguelsimoni/hugo-initio, license MIT (see LICENSE.md, author Miguel Simoni). ## Files that matter **Pages (entry and main templates)** - `layouts/index.html` – home page, includes header, menu, home, services, recent works, download, clients, footer. - `layouts/about/single.html` – About page layout. - `layouts/_default/list.html` – List page used for sections such as posts. - `layouts/_default/single.html` – Default single content page. - `layouts/404.html` – Not‑found page. **Partials (reused sections)** - `layouts/partials/header.html` – site header and navigation. - `layouts/partials/menu.html` – navigation menu markup. - `layouts/partials/home.html` – hero section on the home page. - `layouts/partials/services.html` – services section. - `layouts/partials/recentworks.html` – recent works carousel. - `layouts/partials/download.html` – download button area. - `layouts/partials/clients.html` – client logo grid. - `layouts/partials/footer.html` – site footer with optional widgets. - `layouts/partials/subheader.html` – optional sub‑header shown on inner pages. - `layouts/partials/analyticstracking.html`, `disqus.html`, `sharethis.html` – third‑party integrations. **Stylesheets** - `static/css/styles.css` – main compiled CSS (includes Bootstrap 3 and custom styles). **Scripts** - `static/js/html5shiv.js` – HTML5 element support for older IE. - `static/js/template.js` – custom JavaScript that initialises dropdowns, carousels, and other UI components. **Images & fonts** (used by the theme) - `static/images/` – avatars, background header, sample client logos, etc. - `images/tn.png`, `images/screenshot.png` – screenshots for the repository. **Configuration** - `exampleSite/config.toml` – example Hugo configuration showing theme parameters (showSubheader, showServices, etc.). - `theme.toml` – Hugo theme metadata. **Content** (example data) - `exampleSite/content/` – sample markdown pages (about, posts, services). - `exampleSite/data/recentworks.json` – JSON data for the recent works carousel. The entry page for the generated site is `layouts/index.html`. ## Setup and build The theme does not require a Node build step; it is a pure static Hugo theme. Use Hugo to serve or generate the site. ```bash # Install Hugo (if not already installed) # Follow Hugo's official installation guide for your OS. # Add the theme to a Hugo site (example) cd /path/to/your-hugo-site git submodule add https://github.com/miguelsimoni/hugo-initio.git themes/hugo-initio # Copy the example configuration (optional) cp -r themes/hugo-initio/exampleSite/* . # Run the development server hugo server -D # -D includes draft content # Build the static site hugo # output written to ./public ``` No npm scripts are present because `package.json` is absent. ## How it is put together The layout follows a classic landing‑page structure: a header with navigation, an optional sub‑header, a hero/home section, followed by services, recent works carousel, download call‑to‑action, client logos, and a footer with optional widgets. Each of these sections is a partial that is included in `layouts/index.html` (or other page templates) using Hugo’s `{{ partial "name.html" . }}` syntax, so the same markup appears on every page that uses the index layout. Bootstrap 3 provides the grid system, responsive utilities, and components such as dropdowns and carousels. jQuery is loaded (via the theme’s `template.js`) and is required for the carousel and any interactive elements. The custom `template.js` script initialises: - Bootstrap dropdowns and collapse menus, - The recent works carousel (via `.carousel()`), - Any theme‑specific toggles (e.g., back‑to‑top button). All colour definitions, typography, and spacing are defined in `static/css/styles.css`. The theme does not include dark‑mode or RTL support; those features are not present. ## Watch out for 1. **Bootstrap version mismatch** – the theme expects Bootstrap 3 classes and data attributes; using Bootstrap 4 or 5 will break layout and JavaScript components. 2. **jQuery dependency** – `template.js` assumes jQuery is available globally; removing or loading a different version may cause “$ is not defined” errors. 3. **Global CSS overrides** – `styles.css` contains broad selectors (e.g., `body`, `a`) that affect the whole site; custom styles should be added after this file to avoid unintended overrides. 4. **CDN vs local assets** – the theme does not include CDN links; if you replace `styles.css` or `template.js` with CDN versions, ensure the same version numbers are used. 5. **Partial expectations** – many partials reference specific Hugo variables (e.g., `.Site.Params.showServices`). Missing or misspelled parameters in `config.toml` can result in empty sections or template errors. 6. **Carousel IDs** – the recent works carousel uses a fixed ID (`#recentworks-carousel`). Adding another carousel with the same ID will cause JavaScript conflicts. ## Verify - [ ] Home page (`layouts/index.html`) renders header, menu, hero, services, recent works carousel, download section, clients, and footer. - [ ] Services and recent works sections appear only when `showServices` and `showRecentWorks` are true in `config.toml`. - [ ] The recent works carousel cycles without JavaScript errors (check browser console). - [ ] Navigation dropdowns and mobile menu toggle work on small screens. - [ ] No duplicate loading of jQuery or Bootstrap (single inclusion in the generated HTML). - [ ] Disqus, Google Analytics, and ShareThis snippets are inserted only when their respective parameters are set. - [ ] All images referenced in the theme (avatars, background, client logos) load correctly. - [ ] The generated site builds without errors using `hugo` and serves correctly with `hugo server`. # How to work ## Step 1 — Get it running as it is Start from the downloaded ZIP or a clone of the repository. Serve the files locally as described in "Setup and build" above and open the entry page. Confirm it runs without console errors before changing anything. ## Step 2 — Plan the project with me List the pages and sections of Initio to keep, rename or remove for my project, the folder structure you propose for my stack, and where the repeated parts will live. Wait for my OK. ## Step 3 — Build it - Keep the pages I need, remove the rest, and replace the sample content with real content. - Extract repeated parts (header, navigation, footer) into shared partials or components. - Put my brand name, colours and fonts where Initio defines its theme (see "How it is put together" above), not as one-off overrides. - Keep Bootstrap's markup patterns and class conventions so the design stays consistent, and don't change its major version unless I ask. ## Step 4 — Polish and launch - Remove demo content and every CSS/JS file nothing uses any more; optimise images. - Check phone, tablet and desktop widths, labels, alt text, keyboard focus and colour contrast. - Tell me which files to upload to the host. - Keep the license file and credit the author of Initio. ## Ground rules Work in small steps and show me each change. Use only the libraries already in the project unless I agree to add one.




