Yes, I got it now … but the “just rename from html to ace” did not work in my case.
EDIT IN: Ported the main part of one of my sites – the templates cleaned up very nicely! Thanks @tatsushid
Yes, I got it now … but the “just rename from html to ace” did not work in my case.
EDIT IN: Ported the main part of one of my sites – the templates cleaned up very nicely! Thanks @tatsushid
The docs still lists only Go and Amber templates. Will Ace become officially supported in 0.13?
The live docs is 0.12.
Ace is in the 0.13 codebase (and in the 0.13 docs).
So yes, Ace will be supported n 0.13.
On Ned, 2015-01-18 at 16:54 +0000, bjornerik wrote:[quote=“bjornerik, post:23, topic:129, full:true”]
The live docs is 0.12.
[/quote]
Ahh, that explains it.
Thank you.
[quote]Ace is in the 0.13 codebase (and in the 0.13 docs).
So yes, Ace will be supported n 0.13.
[/quote]
Very nice. I’m very thrilled to start using Hugo as well as learning Go. 
Sincerely,
Gour
p.s. Edit: For some reason my post via email was trimmed. 
I am working on the Amber documentation now. If someone has an example of a Hugo template that uses Amber, that would be super helpful - none of the ones in https://github.com/spf13/hugoThemes/ do.
@scottcwilson, here is the example of single.amber, same as the Ace example above.
doctype 5
html[xmlns="http://www.w3.org/1999/xhtml"][xml:lang="ja"][lang="ja"]
$node = $
import ../partials/header
body.theme-base-0d.layout-reverse.sidebar-overlay
import ../partials/sidebar
// Wrap is the content to shift when toggling the sidebar. We wrap the
// content to avoid any CSS collisions with our real content.
div.wrap
div.masthead
div.container
h3.masthead-title
a[href="/"][title="Home"] #{ Site.Title }
div.container.content
#{ $node.Render("content") }
nav.prev-next
ul
li
if Prev
a[href=Prev.RelPermalink] Newer Post
else
Newer Post
li
if Next
a[href=Next.RelPermalink] Older Post
else
Older Post
import ../partials/footer
Now it shouldn’t work because of the FuncMap call issue I mentioned but if it’s fixed, it works.