From 8305eaffbc51fccc72183b4fe64f4c9db047fb82 Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Fri, 15 Apr 2022 21:39:31 +0300 Subject: Decompose `base.ftl` template (#2432) --- .../src/main/resources/dokka/templates/base.ftl | 39 ++++------------------ 1 file changed, 6 insertions(+), 33 deletions(-) (limited to 'plugins/base/src/main/resources/dokka/templates/base.ftl') diff --git a/plugins/base/src/main/resources/dokka/templates/base.ftl b/plugins/base/src/main/resources/dokka/templates/base.ftl index fb8fabd9..78ce21e2 100644 --- a/plugins/base/src/main/resources/dokka/templates/base.ftl +++ b/plugins/base/src/main/resources/dokka/templates/base.ftl @@ -1,10 +1,12 @@ +<#import "includes/page_metadata.ftl" as page_metadata> +<#import "includes/header.ftl" as header> +<#import "includes/footer.ftl" as footer> - ${pageName} + <@page_metadata.display/> <@template_cmd name="pathToRoot"> - <#-- This script doesn't need to be there but it is nice to have @@ -19,43 +21,14 @@ if(savedDarkMode === true){ <@resources/> - + <@header.display/>
<@content/> - + <@footer.display/>
-- cgit