简体   繁体   English

Hugo 网站聚合页面标题中的换行符

[英]Line break in title on aggregated page of Hugo site

The question might be a little confusing.这个问题可能有点令人困惑。 But I'm using the amazing blogdown package to try out some fun blogging.但我正在使用令人惊叹的blogdown包来尝试一些有趣的博客。 While I not yet dived really deep into Hugo and their variables, I thought there must be a simple way to make a blog-post with a long title that will be broken up into multiple lines on an index-page.虽然我还没有真正深入研究 Hugo 和他们的变量,但我认为必须有一种简单的方法来制作带有长标题的博客文章,并将在索引页面上分成多行。 I just don't know where to start looking for help.我只是不知道从哪里开始寻求帮助。

You can easily modify hugo themes.您可以轻松修改 Hugo 主题。 To customize a theme go to themes/theme-name/layouts/ You will find here all the layouts and templates that make up the theme of your site.要自定义主题,请转到themes/theme-name/layouts/您将在此处找到构成站点主题的所有布局和模板。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM