diff --git a/config.php b/config.php index 7d1fda2..abd9a52 100644 --- a/config.php +++ b/config.php @@ -72,5 +72,10 @@ return [ */ "disable" => [ "editor", + "gutenberg", + "customizer", + "emojis", + "meta-generator", + "patterns", ], ]; diff --git a/tpl/header.tpl b/tpl/header.tpl index bf4d2d6..5fa6115 100644 --- a/tpl/header.tpl +++ b/tpl/header.tpl @@ -6,56 +6,6 @@
- Get started by editing these template files to build out your site layouts and content.
-All template files need to be valid handlebars files, with tags that look like this: {{#raw}}{{#formatDate now}}{{/raw}}. Note: the now variable got its value passed by the PHP file to this template, and the #formatDate prefix is a handlebars helper. You can write your own helpers very easily, and RAD comes preloaded with a bunch of really useful ones!
That tag is rendered into this: {{#formatDate now }}
We also passed the WordPress saved content to this template, asking specifically for the content, title, and published_at date. Here is a quick example of how to use that data:
-Title: {{ post.title }}
-Published: {{ post.published_at }}
-Content:
- {{{ post.content }}} -