Skip to content

Use css.Build in theme skeleton #14626

Closed

Description

@jmooring

The hugo new theme mytheme command generates these partial templates:

_partials/
├── head/
│   ├── css.html
│   └── js.html
├── footer.html
├── head.html
├── header.html
├── menu.html
└── terms.html

The js.html partial demonstrates the js.Build function.

Let's make the css.html partial symmetrical, demonstrating the css.Build function. We would keep this very simple, moving the existing header and footer rules into their own component files, them @import them into main.css.

Activity

  1. added 2 commits that reference this issue on Mar 15, 2026
    72bc1f5
    e6c3213
  2. added a commit that references this issue on Mar 15, 2026
    404ac00
  3. victoriahughes497-max commented on Mar 17, 2026

    @victoriahughes497-max
  4. github-actions commented on Apr 8, 2026

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked as resolved and limited conversation to collaborators on Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions