forked from discourse/discourse-custom-header-links
-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.yml
21 lines (21 loc) · 1.24 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Custom_header_links2:
type: list
default:
'External link, This link will open in a new tab,
https://meta.discourse.org, vdo, blank, remove, true|Most Liked, Posts with
the most amount of likes, /latest/?order=op_likes, vdo, self, keep,
true|Privacy, Our privacy policy, /privacy, vdm, self, keep, true'
description:
en:
'Comma delimited in this order: link text, link title, URL, view, target,
hide on scroll, move to hamburger menu, link class name<br><b>Link text:
</b> The text for the link<br><b>Link title:</b> the text that shows when
the link is hovered<br><b>URL:</b> The path for the link (can be
relative)<br><b>View:</b> vdm = desktop and mobile, vdo = desktop only,
vmo = mobile only<br><b>Target:</b> blank = opens in a new tab, self =
opens in the same tab<br><b>Hide on scroll:</b> remove = hides the link
when the title is expanded on topic pages keep = keeps the link visible
even when the title is visible on topic pages<br> <b>Move to hamburger
menu:</b> true = if the link is not visible in the header due to "vdo" or
"vmo" (see above), put it in the hamburger menu instead<br><b>Link class
name:</b> space-separated list of classes to apply to the link'