aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_layouts/default.haml7
-rw-r--r--src/_partials/example.haml1
-rw-r--r--src/index.haml3
3 files changed, 11 insertions, 0 deletions
diff --git a/src/_layouts/default.haml b/src/_layouts/default.haml
new file mode 100644
index 0000000..f2c7a01
--- /dev/null
+++ b/src/_layouts/default.haml
@@ -0,0 +1,7 @@
+!!!
+%html
+ %head
+ %title StaticMatic
+ = stylesheets
+ %body
+ = yield
diff --git a/src/_partials/example.haml b/src/_partials/example.haml
new file mode 100644
index 0000000..996d725
--- /dev/null
+++ b/src/_partials/example.haml
@@ -0,0 +1 @@
+%h3 Hello, I am a partial!
diff --git a/src/index.haml b/src/index.haml
new file mode 100644
index 0000000..b4b7006
--- /dev/null
+++ b/src/index.haml
@@ -0,0 +1,3 @@
+%h1 StaticMatic!
+
+= partial 'example'