Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.607 kb
%%%' HEADER
%%% @author {{author_name}} <{{author_email}}>
%%% @copyright {{copyright_year}} {{author_name}}
%%% @doc Nitrogen page handler for {{description}}
%%% @end
-module({{app_name}}_{{name}}_page).
-author('{{author_name}} <{{author_email}}>').
-include_lib("nitrogen_core/include/wf.hrl").
-compile(export_all).
%%%.
%%%' NITROGEN CALLBACKS
main() -> #template { file="./templates/{{name}}.html" }.
%%%.
%%%' TEMPLATE CALLBACKS
title() ->
"{{description}}".
%%%.
%%%' EVENT CALLBACKS
event(_) -> ok.
%%%.
%%% vim: set filetype=erlang tabstop=2 foldmarker=%%%',%%%. foldmethod=marker:
Jump to Line
Something went wrong with that request. Please try again.