Code Monkey home page Code Monkey logo

Comments (4)

AmazingRise avatar AmazingRise commented on July 24, 2024 1

Hi nichola,
It seems that you've done this.
When I visit your homepage, it is an about page.

Besides, I suggest reserving the copyright declaration of this theme, for respecting MIT license and my efforts on this project.
Thanks for your support, and feedback these days.

from hugo-theme-diary.

yongfanbeta avatar yongfanbeta commented on July 24, 2024

@AmazingRise 请问是如何改的

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 24, 2024

You can put index.md under content folder. Then it will replace the default index page.
This use case is described in Hugo Documents in fact, and not related to a specific theme. (That is to say, this is applied to every themes)

As far as I remembered, the related section is called lookup order in Hugo Documents.

你可以把index.md放到content文件夹下。之后这个index.md就会替换掉默认的首页了。这个用法在Hugo的文档里描述过,并且与某个特定的主题无关。也就是说,你在任何主题上都可以这么用。

我记得和这玩意有关的内容在“lookup order”一节

from hugo-theme-diary.

nicholaskajoh avatar nicholaskajoh commented on July 24, 2024

It's actually _index.md i.e with an underscore. This is what I tried first but it didn't work.

from hugo-theme-diary.

Related Issues (20)

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.