Skip to content

Instantly share code, notes, and snippets.

@drsii
Created April 29, 2014 18:29
Show Gist options
  • Save drsii/11408272 to your computer and use it in GitHub Desktop.
Save drsii/11408272 to your computer and use it in GitHub Desktop.
platform-content - feature
You no longer require a database entry to load content. providing a path will run through Cartalyst/interpret and boom, job done.
@content('foo.bar')
@content('foo.bar', 'baz')
@content('foo.bar', 'http://baz.md')
or
@content('foo.bar', 'some/folder/http://baz.md')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment