GithubHelp home page GithubHelp logo

Comments (4)

zwbetz-gh avatar zwbetz-gh commented on July 27, 2024 1

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.

zwbetz-gh avatar zwbetz-gh commented on July 27, 2024

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.

donho avatar donho commented on July 27, 2024

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.

donho avatar donho commented on July 27, 2024

@zwbetz-gh
It works and you just made my night!
Thank you very much!

from minimal-bootstrap-hugo-theme.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.