Git Product home page Git Product logo

Comments (2)

nodejh avatar nodejh commented on August 22, 2024

I have updated some features such as excerpt and tags page , you can use latest version.

1. How do I display post excerpts of posts on home page?

You can use <!--more--> summary divider split article, content that comes before the summary divider will be used as that content’s summary.

Also you can describe your summary in post's front matter use description property, and set useDescriptionReplaceSummary = true, e.g.

title = "The post title"
description = "This will be used as post's excerpt if you set useDescriptionReplaceSummary = true"
tags = [
    "go",
    "golang",
    "templates",
    "themes",
    "development",
]
date = "2014-04-02"
categories = [
    "Development",
    "golang",
]

2. What's the cost for tags page?

You only need add tags in psot's front matter, the theme will automatic render the tags pageat http://your_domain_name/tags.(e.g. http://nodejh.com/tags/)

3. How to add "about" under a post?

The theme support an about page. If you want to add "about" under a post, you may edit the file layouts/_default/single.html#L37 and add your "about", this will render at each post page. e.g.

 <section id="post-body">
       {{ .Content }}
 </section>
</article>

// add "about" here and this will render at each post page

from hugo-theme-mini.

wasim-ullah avatar wasim-ullah commented on August 22, 2024

Thank you! :)

from hugo-theme-mini.

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.