Comments (2)
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.
Thank you! :)
from hugo-theme-mini.
Related Issues (20)
- code block background bug HOT 3
- Tag page padding issue in iOS Safari
- Some suggestion about the huge blank room when we open an article HOT 1
- 希望可以使用 utterances 作为评论系统。
- i18n lack "toc"
- do not support raw html tags
- Is it possible to not use an avatar?
- 关于页面显示在博客主页上 HOT 1
- Math Typesetting HOT 1
- Font size issues in code blocks on mobile HOT 1
- 当我点击一个TAG按钮就出错了
- Profile partial not rendered on about page HOT 1
- Sticky navbar HOT 1
- No obvious way to pin a post to the top of a homepage.
- Does `mini` support Mermaid? or other instead? HOT 1
- Theme fails to detect production environment
- Cannot open post by tags and categories HOT 3
- Trouble with social footers
- Code snippet highlight HOT 2
- 请问“关于”页面如何禁用disqus评论 HOT 4
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 hugo-theme-mini.