X-Git-Url: https://git.auder.net/?p=sview.git;a=blobdiff_plain;f=README.md;h=68c04f530bb76c9c129d654561e727710ba2e922;hp=48b40ecc69c3bdaf150c1f4655c392f8091498d6;hb=HEAD;hpb=5e8537e80ba92f2eab61e2b573ef3a9328d37349 diff --git a/README.md b/README.md index 48b40ec..68c04f5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sview : tiny PHP web framework -It is inspired by [a similar framework](https://github.com/arnorhs/ShortPHP) written by Arnór Heiðar Sigurðsson. +It is inspired by [a similar framework](https://github.com/arnorhs/ShortPHP) written by Arnór Heiðar Sigurðsson. In the same spirit but more advanced and more complete, see also [nanoc](http://nanoc.ws/) - in Ruby. sview is designed to organize essentially static websites. @@ -52,9 +52,10 @@ Now (online), in the .htaccess file, change the line `RewriteBase /` to `Rewrite ## 1. Set default contents Edit the file defaults.php with + * A global title to your website; this title can later be mixed with a more specific page-based title, or be replaced. -* A list of references to CSS style sheets and pre-rendering javascripts, like ``. - We will see later how to refer to local style sheets (under a/css). +* A list of references to CSS stylesheets and pre-rendering javascripts, like ``. + We will see later how to refer to local stylesheets (under a/css). * Some javascript code which will be loaded by default after every page loads (e.g. [jQuery](http://jquery.com/). Each variable name is prepended with "b\_" to avoid potential conflicts with your own variables. @@ -64,6 +65,7 @@ Each variable name is prepended with "b\_" to avoid potential conflicts with you ### index.php Complete + * The menu (at commented location) * The banner (near the menu, if you want one) * The footer (if you don't want one, just drop it). @@ -73,7 +75,7 @@ You can also change the <meta> tags if needed. ### site/home.php The welcome page. You can choose a title ($s\_title) or use the default one -(by not specifying anything). Style sheets and javascripts can be customized, ...etc. +(by not specifying anything). Stylesheets and javascripts can be customized, ...etc. Any default variable can be used to define a specific variable (prepended with "s\_"). ### site/404.php