HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.28k stars 2.91k forks source link

Featurette widget does not change from example #1060

Closed sagitaninta closed 5 years ago

sagitaninta commented 5 years ago

I am using hugo version 0.55.4 and Academic theme version 4.2.5. and trying to get the featurette widget on a separate widget page that is not homepage. I have followed the instruction in Managing Content documentation and managed to get my separate widget page with experience and skill widget, but I could not change the icon and the description on the featurette widget.

This is the featurette section, as you can see it does not look different from the example site... image

...while I actually have changed the front matter for that widget as follows.

+++
# A Skills section created with the Featurette widget.
widget = "featurette"  # See https://sourcethemes.com/academic/docs/page-builder/
headless = true  # This file represents a page section.
active = true  # Activate this widget? true/false
weight = 1  # Order that this section will appear.

title = "Skills"
subtitle = ""

# Showcase personal skills or business features.
# 
# Add/remove as many `[[feature]]` blocks below as you like.
# 
# For available icons, see: https://sourcethemes.com/academic/docs/widgets/#icons

[[feature]]
  icon = "r-project"
  icon_pack = "fab"
  name = "R user"
  description = "..."

[[feature]]
  icon = "seedling"
  icon_pack = "fas"
  name = "Biodiversity Scientist"
  description = "..."

[[feature]]
  icon = "chart-line"
  icon_pack = "fas"
  name = "Data Analyst"
  description = "..."  

[[feature]]
  icon = "handshake"
  icon_pack = "far"
  name = "Community Builder"
  description = "..."

+++

No matter how I see it, I could not spot any difference from the example on skill other that the choice of icon and the description. Could you please tell me where I got wrong or is this a bug?

UPDATE: I even change the active status in the skills.md file in my widget page (active = false) and it just did not respond to it (featurette still showing in the next render within localhost after active=false). Is this something to do with the newest version of hugo? I should add that whenever I run blogdown::serve_site() in R to render the website in localhost. I keep getting this message:

Building sites … WARN 2019/04/26 19:39:25 found no layout file for "CSS" for "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

Thanks in advance for anyone's assistance!

gcushen commented 5 years ago

You have updated to the unreleased version. You'll need to remove the "CSS" output entry from config.Toml

sagitaninta commented 5 years ago

Thanks, removing the CSS output in config.toml remove the warning message, but my widgets are still not updating when I render it in localhost. Now I say "widgets" as my "experience" widget was also not updating. I don't know if this is a hugo issue, hugo-academic issue, or blogdown issue 😂

gcushen commented 5 years ago

If there are no errors/warnings then it would appear that Blogdown is not calling Hugo to update your local site. The Blogdown community should be able to help.

sagitaninta commented 5 years ago

But when I edited the about.md file and other blog posts in .Rmd, also my project files, blogdown::serve_site() still render my website updated with all those changes I had made within those files; only this new widget page that I made does not update, and there were no warning or error messages even when I built it with hugo.

Within this content/bio/ directory, there were only experience.md, skills.md, and index.md, and the front matter of index.md was just this:

+++
# Bio page
type = "widget_page"  # Page type is a Widget Page
headless = true
+++

Just for anyone's information.

cvanelteren commented 5 years ago

I have a similar issue after updating, is there a fix for this? I rolled back my upgrade but can't find a mention to a home.css anywhere