Skip to content

content: Complete v0.155.0 updates #3372

@jmooring

Description

@jmooring

Reference: #3350

Some related notes from bep:

Just a side-note: I have added some comments in https://github.com/bep/hugo-testing-git-versions/blob/main/hugo.toml re

  • With the latest cache improvement commits, I think the strategy used in that project could be useful (I will not delete that project, but I may improveit)
  • We currently have a glossary term "glob slice", which isn't covering all of what it does anymore ... In the above comments I use "dimension guery", but I'm not sure.
  • I have added == and != to the operators to make it complete.

Example:

[module.imports.mounts.sites.matrix]
    # This is a Hugo dimension query.
    # This can be either a string or a list of strings.
    # If prefixed with an operator, the logical operation is AND and it short-circuits on the first match.
    # If not prefixed with an operator, the logical operation is OR.
    # If not prefixed with an operator or the operator is "! ", it is treated as a Glob expression. See https://github.com/gobwas/glob for the library used.
    # The operators are: !,==, !=, <, <=, >, >= followed by a single space.
    # "! " operator is reserved for Glob expressions.
    # The other operators must be followed by a valid value for the given dimension (for versions Hugo consider semantic equality when finding the value, 
    # so e.g "< v3.0.0" would match v1 and v2).
    versions = 'v1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions