Skip to content

Commit

Permalink
#12 theme example
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten Marx committed Nov 13, 2023
1 parent 70261d7 commit deb8d5e
Show file tree
Hide file tree
Showing 31 changed files with 10 additions and 1,414 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ target/
.vscode/
cms-server/hosts/marx-software
cms-server/hosts/demo/modules_data/search-module/index
cms-server/hosts/theme-demo/modules_data/search-module/index
cms-server/modules/flexmark-module
cms-server/modules/markedjs-module
cms-server/modules/pebble-module
Expand Down
2 changes: 1 addition & 1 deletion cms-server/hosts/demo/content/tags/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ menu:

## Tags

[[hello name='Thorsten']]
[[hello name='Thorsten'/]]
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"modules":{"flexmark-module":{"active":false,"id":"flexmark-module","moduleDir":"flexmark-module"},"thymeleaf-module":{"active":true,"id":"thymeleaf-module","moduleDir":"thymeleaf-module"},"freemarker-module":{"active":false,"id":"freemarker-module","moduleDir":"freemarker-module"},"ui-module":{"active":false,"id":"ui-module","moduleDir":"ui-module"},"pebble-module":{"active":false,"id":"pebble-module","moduleDir":"pebble-module"},"example-module":{"active":true,"id":"example-module","moduleDir":"example-module"},"markedjs-module":{"active":true,"id":"markedjs-module","moduleDir":"markedjs-module"}}}
{"modules":{"flexmark-module":{"active":false,"id":"flexmark-module","moduleDir":"flexmark-module"},"thymeleaf-module":{"active":true,"id":"thymeleaf-module","moduleDir":"thymeleaf-module"},"freemarker-module":{"active":false,"id":"freemarker-module","moduleDir":"freemarker-module"},"pug-module":{"active":false,"id":"pug-module","moduleDir":"pug-module"},"search-module":{"active":true,"id":"search-module","moduleDir":"search-module"},"pebble-module":{"active":false,"id":"pebble-module","moduleDir":"pebble-module"},"example-module":{"active":true,"id":"example-module","moduleDir":"example-module"},"markedjs-module":{"active":true,"id":"markedjs-module","moduleDir":"markedjs-module"}}}
Empty file.
Binary file not shown.
2 changes: 1 addition & 1 deletion cms-server/modules/example-module/module.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id=example-module
name=example module
version=2.6.0
version=2.7.0-SNAPSHOT
priority=HIGH
6 changes: 6 additions & 0 deletions cms-server/themes/default/extensions/theme.extension.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { $tags } from 'system/tags.mjs';

$tags.addTag(
"theme_name",
(params) => `Hello, I'm your default theme.`
)
28 changes: 0 additions & 28 deletions modules/ui-module/src/main/frontend/.gitignore

This file was deleted.

29 changes: 0 additions & 29 deletions modules/ui-module/src/main/frontend/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions modules/ui-module/src/main/frontend/index.html

This file was deleted.

Loading

0 comments on commit deb8d5e

Please sign in to comment.