Skip to content

Commit 0dc5506

Browse files
update dokka page footer
1 parent 7ce1a14 commit 0dc5506

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

dokka/templates/base.ftl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@
3535
--dokka-logo-height: 24px;
3636
--dokka-logo-width: 24px;
3737
}
38+
.footer {
39+
display: block;
40+
padding-top: 20px;
41+
font-size: 16px;
42+
color: #666;
43+
overflow: hidden;
44+
white-space: nowrap;
45+
text-align: center;
46+
}
3847
</style>
3948
</head>
4049
<body>

dokka/templates/includes/footer.ftl

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<#macro display>
2-
<div class="footer">
3-
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
4-
<span>${footerMessage}</span>
5-
<span class="pull-right">
6-
<span>Generated by </span>
7-
<a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka">
8-
<span>dokka</span>
9-
</a>
10-
</span>
11-
</div>
12-
</#macro>
2+
<div class="footer">
3+
<#assign now = .now>
4+
&copy; ${now?string.yyyy} KTORM.ORG. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a> <br/>
5+
Hosted by
6+
<a href="https://github.com/kotlin-orm/ktorm">GitHub</a>
7+
<a href="https://github.com/kotlin-orm/ktorm/stargazers" >
8+
<img src="https://img.shields.io/github/stars/kotlin-orm/ktorm.svg?style=social" alt="Stars">
9+
</a>
10+
</div>
11+
</#macro>

0 commit comments

Comments
 (0)