Created
October 5, 2011 20:37
-
-
Save mnelson/1265630 to your computer and use it in GitHub Desktop.
DynMeta demonstration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%title= meta(:title) | |
%meta{:name => 'robots', :content => meta(:robots)} | |
%meta{:name => 'description', :content => meta(:description)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
meta: | |
<keyword-pluralized>: | |
default: value | |
<controller>: | |
default: value | |
<action>: | |
default: value | |
<id>: value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
meta: | |
titles: | |
default: My Amazing Website | Amazing | |
users: | |
default: Welcome to My Amazing Website | Amazing | |
new: Join My Amazing Website | Amazing | |
edit: Edit Your Account |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
meta: | |
titles: | |
pages: | |
show: | |
tos: "Terms of Service" | |
pp: "Privacy Policy" | |
about: "About My Site" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- meta(:title, @user.name) | |
%h2= @user.name | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment