42e31c8c5e
* Make .html implicit for page IDs * Add Pry gem * Add setting :page_id_generator to override page ID derivation
15 lines
485 B
Plaintext
15 lines
485 B
Plaintext
I am: <%= current_resource.page_id %>
|
|
|
|
URL1: <%= url_for "frontmatter" %>
|
|
URL2: <%= url_for "page2" %>
|
|
URL3: <%= link_to "Hi", "page3" %>
|
|
URL4: <%= link_to "Sym", :"something-else" %>
|
|
URL5: <%= link_to "Imp", :implicit %>
|
|
URL6: <%= link_to "Foldern", "folder/foldern" %>
|
|
URL7: <%= link_to "Feed", "feed.xml" %>
|
|
|
|
<%# If custom proc %>
|
|
URL8: <%= link_to "Imp", "implicit.html-foo" %>
|
|
URL9: <%= link_to "Foldern", "folder/foldern.html-foo" %>
|
|
URL10: <%= link_to "Feed", "feed.xml-foo" %>
|