Skip to content

Commit 457316a

Browse files
committed
features - premium star
1 parent 2ce11f6 commit 457316a

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: DbGate
2+
title: DbGate Community
33
headTitle: DbGate | Open Source SQL+noSQL Database Client
44
subtitle: The Smartest SQL+noSQL Database Client
55
callouts: home_callouts

layouts/features/single.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{{ define "main" }}
2-
<p class="title is-3">{{ .Title }}</p>
2+
<p class="title is-3">{{ .Title }}
3+
{{ if eq .Params.edition "premium" }}
4+
<i class='fa fa-star ml-2' ></i>
5+
{{ end }}
6+
</p>
7+
8+
{{ if .Params.external_link }}
9+
<p><i class="fa fa-hand-point-right"></i> View more details on <a href="{{ .Params.external_link }}" target="_blank">dbgate.io</a>
10+
</p>
11+
{{ end }}
12+
313
{{ .Content }}
414

515
<div class="columns is-multiline">

layouts/partials/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
<a href="{{ .RelPermalink }}"
5050
class="navbar-item {{ if eq (printf "%s" ( .Params.url | relURL)) $.Permalink }}is-active{{ end }}">
5151
{{ .Params.title }}
52+
{{ if eq .Params.edition "premium" }}
53+
<i class='fa fa-star ml-2' ></i>
54+
{{ end }}
5255
</a>
5356
{{ end }}
5457
{{ end }}

layouts/partials/left-menu.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
class="{{ if eq .RelPermalink $.context.RelPermalink }}is-active{{ end }}"
1111
>
1212
{{ .Title }}
13+
{{ if eq .Params.edition "premium" }}
14+
<i class='fa fa-star ml-2' ></i>
15+
{{ end }}
16+
1317
</a>
1418
</li>
1519
{{ end }}

0 commit comments

Comments
 (0)