diff --git a/config.yml b/config.yml index 6b4523e..ca3e7b4 100644 --- a/config.yml +++ b/config.yml @@ -18,14 +18,14 @@ charset: "UTF-8" # simple: default and very basic template engine # template_toolkit: TT -template: "simple" +template: "template_toolkit" +engines: + template: + template_toolkit: + start_tag: '<%' + end_tag: '%>' -# template: "template_toolkit" -# engines: -# template: -# template_toolkit: -# start_tag: '<%' -# end_tag: '%>' +auto_page: 1 # session engine # diff --git a/public/img/lain.jpg b/public/img/lain.jpg new file mode 100644 index 0000000..955369d Binary files /dev/null and b/public/img/lain.jpg differ diff --git a/views/index.tt b/views/index.tt index 8084bfc..5cd9452 100644 --- a/views/index.tt +++ b/views/index.tt @@ -1,148 +1,16 @@ +
+
+ +

+

Welcome to cybNIC

+
- - -
- - -
- - -
-

Getting started

-

Here’s how to get dancing:

- -

About your application's environment

- - - - - - -
    -
  1. -

    Tune your application

    - -

    - Your application is configured via a global configuration file, - config.yml and an "environment" configuration file, - environments/development.yml. Edit those files if you - want to change the settings of your application. -

    -
  2. - -
  3. -

    Add your own routes

    - -

    - The default route that displays this page can be removed, - it's just here to help you get started. The template used to - generate this content is located in - views/index.tt. - You can add some routes to lib/cyberman.pm. -

    -
  4. - -
  5. -

    Enjoy web development again

    - -

    - Once you've made your changes, restart your standalone server - (bin/app.psgi) and you're ready - to test your web application. -

    -
  6. - -
-
-
-
+
+

.cyb is a new TLD (top level domain) for anything and everything cyberpunk-related, on the OpenNIC network. To get started, change your computer's DNS settings to use OpenNIC's servers - here's how. Registering a .cyb domain is free for everyone.

+

You can read our charter for more information and details on how to report abuse of cybNIC services.

+
+

log in ]  [ register ]

+
+
diff --git a/views/layouts/main.tt b/views/layouts/main.tt index ca4577b..87376d3 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -1,22 +1,29 @@ - - - - - - <% title %> - - - - - - - - -<% content %> - - + + + + + + + + <% content %> +