summaryrefslogtreecommitdiff
path: root/new/splash/pages
diff options
context:
space:
mode:
authormms <git@sapka.me>2025-01-05 22:34:37 +0100
committermms <git@sapka.me>2025-01-05 22:34:37 +0100
commit628fcf941c322dd0ed24a643c58394392484740e (patch)
tree87d1812f5bb27e9edfb9d8b812e03a3e115d0307 /new/splash/pages
parent89c6116c671c7701f86854111dd58a1933551b6e (diff)
bookmark dump
Diffstat (limited to 'new/splash/pages')
-rw-r--r--new/splash/pages/.dir-locals.el1
-rw-r--r--new/splash/pages/index.html.erb9
-rw-r--r--new/splash/pages/index.rb29
3 files changed, 10 insertions, 29 deletions
diff --git a/new/splash/pages/.dir-locals.el b/new/splash/pages/.dir-locals.el
new file mode 100644
index 0000000..4e2be03
--- /dev/null
+++ b/new/splash/pages/.dir-locals.el
@@ -0,0 +1 @@
+((nil . ((add-hook 'after-save-hook ('message :a))))
diff --git a/new/splash/pages/index.html.erb b/new/splash/pages/index.html.erb
new file mode 100644
index 0000000..d033c90
--- /dev/null
+++ b/new/splash/pages/index.html.erb
@@ -0,0 +1,9 @@
+<html>
+ <head>
+ <title>It works!</title>
+ </head>
+ <body>
+ <h1>Test</h1>
+ Last update: <%= Time.now %>
+ </body>
+</html>
diff --git a/new/splash/pages/index.rb b/new/splash/pages/index.rb
deleted file mode 100644
index b9772d8..0000000
--- a/new/splash/pages/index.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-require_relative "../lib/theme.rb"
-
-module Crys
- module Splash
- class IndexPage < Theme
- BODY = ERB.new <<-EOF
- <h1><%= title %></h1>
- <%= name %>
- EOF
-
- DATA = {
- title: "A page",
- name: "A name"
- }
-
- PAGE = "index.erb"
-
- # filename
- # other embbeds
- # from .erb file
- # from .org file
-
-
-
- end
- end
-end
-
-p Crys::Splash::IndexPage.new.render