Skip to content

Commit 0dc6298

Browse files
authored
Add floating button config (#157)
Floating button is easily accessible and always on top button. Button is the link to join telegram group. Signed-off-by: Akshay Gaikwad <[email protected]>
1 parent 11c1763 commit 0dc6298

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ params:
156156
quicklinks:
157157
- text: Code of Conduct
158158
link: '/code-of-conduct'
159+
floatbutton:
160+
enable: true
161+
text: '<i class="fa fa-telegram"></i>&nbsp;Chat'
162+
link: 'http://tel.pythonpune.in'
163+
description: 'Join Telegram group'
159164
markup:
160165
goldmark:
161166
renderer:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ go 1.14
44

55
require (
66
github.com/bep/portable-hugo-links v0.5.4-0.20200324203706-e51b1ae7dbd7 // indirect
7-
github.com/pythonpune/website-theme v0.0.0-20201123182021-a1a00abbc7b7 // indirect
7+
github.com/pythonpune/website-theme v0.0.0-20210516033510-9ac8cf4e3921 // indirect
88
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
github.com/bep/portable-hugo-links v0.5.4-0.20200324203706-e51b1ae7dbd7 h1:h4mlOOOMoXQLFmtZKyWgjydsrb3Wx3AkgMZ79TskkiA=
22
github.com/bep/portable-hugo-links v0.5.4-0.20200324203706-e51b1ae7dbd7/go.mod h1:THWnsWZWDsb4mF//7zPGPngV3N7HIOvIydJLClUvMRU=
3-
github.com/pythonpune/website-theme v0.0.0-20201123182021-a1a00abbc7b7 h1:NlAqHCCQMsALcJuasIiuJ3G8/2MTiJxh/njHoWNOd+I=
4-
github.com/pythonpune/website-theme v0.0.0-20201123182021-a1a00abbc7b7/go.mod h1:ozUPkIy5owDewB4t3wzjE/M8jVV54jpa58KiFxRlNO8=
3+
github.com/pythonpune/website-theme v0.0.0-20210516033510-9ac8cf4e3921 h1:8FYRpNJAaTMFW8D4SgTSftLubA6koPIzqq1CBOoeDSw=
4+
github.com/pythonpune/website-theme v0.0.0-20210516033510-9ac8cf4e3921/go.mod h1:ozUPkIy5owDewB4t3wzjE/M8jVV54jpa58KiFxRlNO8=

0 commit comments

Comments
 (0)