8000 [Enhancement]: home info content would be in a separated markdown page and CSS rendered as a regular page · Issue #1670 · adityatelange/hugo-PaperMod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Enhancement]: home info content would be in a separated markdown page and CSS rendered as a regular page #1670
Open
@vepain

Description

@vepain

What you'd like to propose?

Wanted feature

  • Move the home-info profile content from the Hugo config file (hugo.yaml or hugo.toml) to a regular markdown file (let say content/home-info.md)
  • Render the home info content as a regular page (reuse .post-single.css)

Why this feature?

In home-info mode, if you test the following:

hugo.yaml

params:
  description: "The description."
  author: Me

  defaultTheme: auto # to switch between dark or light according to browser theme
  env: production

  homeInfoParams:
    Title: Welcome
    Content: >
      First line.

      * First bullet point

      * Second bullet point
      * Third bullet point

      Last line 

You will obtain this rendering:

Image

You can remark that:

  • The bullets are not rendered for the list items
  • You must add a new line to separate correctly the list items
  • The last line is not considered as a new line, and is merged with the last list item.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0