{"repo":"mikker/satanic_pages","free":true,"listed":false,"github":"https://github.com/mikker/satanic_pages","clone":"git clone https://github.com/mikker/satanic_pages.git","description":"Static pages in your Rails app but they're just regular views with YAML frontmatter","language":"HTML","stars":19,"topics":["markdown","rails"],"license":"MIT","category":"productivity","readme_excerpt":"Static Markdown pages with YAML frontmatter and inline Erb, embedded in your Rails app. As simple as, … app/views/pages/exorcism tips.html.md : Usage In app/views/layouts/pages.html.erb : Frontmatter is supplied as a struct like object. Given this frontmatter: Use ! and ? method helpers for added strictness. Installation Add this line to your application's Gemfile: Add the Concern to a regular controller: And set up a wildcard route: License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/mikker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mikker/satanic_pages/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}