Skip to content

Conversation

@bonbud-macryg
Copy link
Collaborator

No description provided.

:: add html page for this post to
:: eyre cache with added mime type
:* %pass /bind %arvo %e
%set-response (spat path)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too much repetition - if we want to change the prefix to something else, or add more to the prefix, we'll need to change six different locations. Should add a helper function that takes a path and produces a path, e.g.:

++  format
  |=  =path
  ^-  ^path
  (spat [~.blog path])

format isn't the best name, but I can't think of anything better right now - you get the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants