Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Added ErlyDTL example#1

Open
SteveSongMIT wants to merge 2 commits intorobertmeta:masterfrom
SteveSongMIT:erlydtl-example
Open

Added ErlyDTL example#1
SteveSongMIT wants to merge 2 commits intorobertmeta:masterfrom
SteveSongMIT:erlydtl-example

Conversation

@SteveSongMIT
Copy link
Copy Markdown

Added very simple ErlyDTL example where the result page changes with each refresh to 'prove' the page is being populated by the server. Tried to follow the same style as the rest of the examples.

@SteveSongMIT
Copy link
Copy Markdown
Author

Kept the .dtl in /templates because that seems to be the standard place for them. Rebar knows what to do with them there. Get's confused when putting them into /priv/templates. Figured it wasn't worth it to do something non-standard with respect to what Rebar's expecting.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant