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.2k stars 2.9k forks source link

Contact widget: multiple office hours show on one line #2363

Closed cdubach closed 3 years ago

cdubach commented 3 years ago

When multiple office hours are required, they all show up on a single line.

content of param.yaml:

office_hours:office_hours:

produced HTML file:

<li>
  <i class="fa-li fas fa-clock fa-2x" aria-hidden="true"></i>
  <span>ECSE-324: Monday 10:00-12:00<!-- raw HTML omitted -->CS minor: Monday 14:00-15:00</span>
</li>

I would expect that each office hour should be displayed as a separate list item.

gcushen commented 3 years ago

Hugo 0.84 is a brand new Hugo version which may still have some bugs.

You can fix the issue by adding the following to your config.yaml:

markup:
  _merge: deep
cdubach commented 3 years ago

Brilliant, that works! Thanks.