Comments (4)
On second thought, you will also need to override the homepage template https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/blob/master/layouts/index.html
For example give it contents such as
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}
Then it will pull from your content/_index.md
from minimal-bootstrap-hugo-theme.
You need to rename
content/index.md
To be
content/_index.md
Which will make that page a branch bundle (what you want) instead of a leaf bundle.
from minimal-bootstrap-hugo-theme.
Hmm... I've tried content/_index.md
:
hugo generates an empty index.html
only with "Home" title inside, and all the content in content/_index.md
is ignored.
Here is the content in content/_index.md
:
---
title: "About"
type: docs
---
**W**in**GUp** is a **G**eneric **Up**dater running under **Win**dows environment.
The aim of WinGUp is to provide a ready to use and configurable updater which downloads a update package then installs it.
By using cURL library and TinyXml module, GUP is capable to deal with http protocol and process XML data.
...
_index.md is just ignored.
from minimal-bootstrap-hugo-theme.
@zwbetz-gh
It works and you just made my night!
Thank you very much!
from minimal-bootstrap-hugo-theme.
Related Issues (12)
- Change font style and size HOT 2
- bootstrap.min.css 404 HOT 2
- How to config pagination of the posts? HOT 1
- Stackbit App - Validating Data HOT 1
- Fix go template syntax after upgrade to hugo v71.1.1 HOT 1
- date and tag are not displayed on the post page HOT 2
- Error while building template. HOT 1
- Categories are displaying brackets - easy fix HOT 1
- Analytics Partial HOT 6
- help me. HOT 1
- Click on tag doesn't filter by that tag HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minimal-bootstrap-hugo-theme.