Skip to content

Plain ol' HTML content in 'dynamic/' #81

Description

@joesavage

When trying to make some finishing touches to my Frank setup, I decided it might be a nice idea to switch all my article content files (which literally only contain the article content, and a little meta-data) away from ERB, in case some of my content, all of which is written in plain HTML, contained a "<%" or "<%=" which would screw everything up. Unfortunately switching all my content files over from ".erb" and ".haml" to ".html" resulted in the following when exporting:

frank-1.0.12/lib/frank/base.rb:184:in tilt': undefined methodnew' for nil:NilClass (NoMethodError)

Switching them back to ERB works fine, but there's still that risk of screw-ups if I accidentally end up writing some ERB when writing HTML content (perhaps in a code snippet since my static site is to do with programming). This content still needs meta-data of course, but unfortunately these only seem to be supported by Frank in the templating frameworks (ERB and HAML) as well as Markdown (my posts aren't written in Markdown, so even though it's awesome for content writing, it's not any good here).

Some support for plain HTML files with YAML META sections would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions