diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea1472e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +output/ diff --git a/example/.isidore-version b/example/.isidore-version new file mode 100644 index 0000000..6e8bf73 --- /dev/null +++ b/example/.isidore-version @@ -0,0 +1 @@ +0.1.0 diff --git a/example/config.php b/example/config.php new file mode 100644 index 0000000..0fc9377 --- /dev/null +++ b/example/config.php @@ -0,0 +1,5 @@ + diff --git a/example/site/blog.html.php b/example/site/blog.html.php new file mode 100644 index 0000000..16a1415 --- /dev/null +++ b/example/site/blog.html.php @@ -0,0 +1,23 @@ + + +

+Welcome to my blog page! Here's a list of my current entries: +

+ + + + diff --git a/example/site/blog/000-first.cfg.php b/example/site/blog/000-first.cfg.php new file mode 100644 index 0000000..e2b59f5 --- /dev/null +++ b/example/site/blog/000-first.cfg.php @@ -0,0 +1,4 @@ + diff --git a/example/site/blog/000-first.html.php b/example/site/blog/000-first.html.php new file mode 100644 index 0000000..c4204c6 --- /dev/null +++ b/example/site/blog/000-first.html.php @@ -0,0 +1,9 @@ + +

My first blog post.

+ diff --git a/example/site/index.html.php b/example/site/index.html.php new file mode 100644 index 0000000..1277280 --- /dev/null +++ b/example/site/index.html.php @@ -0,0 +1,10 @@ + +

+Hello, World! This is an example page. +

+ diff --git a/example/site/static-file.txt b/example/site/static-file.txt new file mode 100644 index 0000000..4432af5 --- /dev/null +++ b/example/site/static-file.txt @@ -0,0 +1 @@ +A test file. diff --git a/example/templates/footer.html.php b/example/templates/footer.html.php new file mode 100644 index 0000000..7fb2bd6 --- /dev/null +++ b/example/templates/footer.html.php @@ -0,0 +1,2 @@ + + diff --git a/example/templates/header.html.php b/example/templates/header.html.php new file mode 100644 index 0000000..492ee5a --- /dev/null +++ b/example/templates/header.html.php @@ -0,0 +1,7 @@ + + + + <?= $title ?> | <?= $site_name?> + + +