Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

wakate/lokka-layouted-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Lokka Static ( layouted )

You will be able to create a layouted static page.

Installation

$ cd LOKKA_ROOT/public/plugin
$ git clone git://github.com/daic-h/lokka-static.git

Usage

So If you want a static page, please create the following files:

plugin/lokka-static/views/example.erb

access to

http://your.app.url/example

You can use the following template engine:

html / erb / haml / slim / erubis 

Helper

access to css javascript image is

assets_path("example.css") 
#=> /plugin/lokka-static/views/example/example.css

assets_path("image/example.png") 
#=> /plugin/lokka-static/views/example/image/example.png

assets_path is always looking "/plugin/lokka-static/views/#{file name}/"

Copyright

Copyright (c) 2012 Daichi Hirata, released under the MIT license.

Modified to layouted static page.

Copyright (c) 2012 sowawa, released under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages