Skip to content

How to prevent creating duplicated image with different name? #49

Closed Answered by razonyang
TetraTheta asked this question in Q&A
Discussion options

You must be logged in to vote

No, I think the problem is that all page resources will be published by default, so you will got duplicated resources, disable it should work.

// config.yaml
cascade:
  - _target:
      kind: page
      path: /*/**
    _build:
      publishResources: false

I'vent test, tweak it to suit your needs.

See

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@TetraTheta
Comment options

@razonyang
Comment options

@TetraTheta
Comment options

@razonyang
Comment options

@TetraTheta
Comment options

Answer selected by TetraTheta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants