Hugothemes: Novela

Created on 7 Dec 2019  路  7Comments  路  Source: gohugoio/hugoThemes

Theme submission

novela

Preview: https://hugo-novela-forestry.netlify.com

Link to theme repository: https://github.com/forestryio/hugo-theme-novela

Ported from Gatsby by @mountainbug95 and @regisphilibert for @forestryio

I made sure that...

  • [x] the repository contains a good README.md describing my theme
  • [x] an open source license has been added to LICENSE.md
  • [x] all metadata have been added to theme.toml
  • [x] screenshots have been added in the images/ folder with the required dimensions
  • [x] in case I'm using a customized demo via the exampleSite folder that

    • [x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains

    • [x] I've checked the developer tools' console in my browser for error messages

  • [x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

All 7 comments

Hello @DirtyF, @mountainbug95, @regisphilibert and @forestryio,

thank you for porting this nice looking theme from Gatsby to Hugo :+1:
Let's start right with the review:

  • please link the thumbnail at the very top of the README using an absolute path. The relative path doesn't work on www.themes.gohugo.io anymore. Consider to use https://raw.githubusercontent.com/forestryio/hugo-theme-novela/master/images/tn.png as url.
  • right now, only pages of type "post" are shown on the homepage. To give users more flexibility it would be great of you could make use of Hugo's mainSections variable. Hugo populates this array with content types that have the most content files, e.g. in your case content files of type "post". The array can be overridden in the config file by the user if he chooses to.
  • if no thumbnail for a post is set consider to display a placeholder or remove the HTML tags used for the thumbnail altogether. Otherwise it leaves a huge white spot in the layout.

Note: themes might have to be whitelisted as it is using custom thumbnails for posts and pictures of content authors.

Thanks for the detailed review.

What do you mean by "relative path don't work on GitHub? The image is properly shown in the README.

While the theme could be further optimized, it's not in the project's scope for now. Novela is a heavily illustrated blog theme and people willing to use the theme should embrace the current constraints. 馃

Hi Frank,

What do you mean by "relative path don't work on GitHub? The image is properly shown in the README.

My mistake. I was referring to the README when it's shown on www.themes.gohugo.io, e.g. at https://themes.gohugo.io/dot-hugo-documentation-theme/.

While the theme could be further optimized, it's not in the project's scope for now. Novela is a heavily illustrated blog theme and people willing to use the theme should embrace the current constraints.

Do you rather encourage users of your theme to fork it if they want to add customizations?

The link for the screenshot has been updated.

Project is indeed open source, people can always fork it to adapt it to their needs, we don't intend to provide more features than the original Gatsby theme.

Your theme should appear soon on Hugo's theme site. Next, I'll promote your theme on Hugo's official Twitter account.

@digitalcraftsman Awesome. I notice the link to the author's page is 404 on the theme site, I fixed the link in the theme.toml, anything to do on your end?

I've updated a bunch of themes (including yours). Your changes should be visible soon after the Hugo theme site has been rebuild.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peaceiris picture peaceiris  路  4Comments

onedrawingperday picture onedrawingperday  路  5Comments

serg picture serg  路  4Comments

kishaningithub picture kishaningithub  路  5Comments

heyarviind picture heyarviind  路  7Comments