Skip to content

Instantly share code, notes, and snippets.

@drsii
Created April 29, 2014 18:29
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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