Skip to content

How to change page metadata ? #154

Answered by daveaglick
Arwex007 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! There may be some confusion about how static generators work. Statiq generates HTML and other files that get sent to the web browser. At “runtime” (I.e. when the user is browsing the site), Statiq is completely out of the picture. Any dynamic client behavior needs to be implemented in JavaScript (and that’s not to say a static site can’t have lots of dynamic client behavior - just that it needs to be provided by client-side code). Because of that, mixing things like clicking buttons (a runtime behavior) with page metadata (a generation-time concept) doesn’t really work.

Does that make sense?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Arwex007
Comment options

@daveaglick
Comment options

@Arwex007
Comment options

@Arwex007
Comment options

@daveaglick
Comment options

Answer selected by Arwex007
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