filesafe/views/_globals.njk
2020-05-17 22:43:01 +07:00

112 lines
3.1 KiB
Plaintext

{% set name = "safe.fiery.me" %}
{% set motto = "A small safe worth protecting." %}
{% set description = "A pomf-like file uploading service that doesn't suck." %}
{% set keywords = "upload,lolisafe,file,images,hosting,bobby,fiery" %}
{# Used in home.njk and nojs.njk #}
{% set home_subtitle = "A <strong>modern</strong> self-hosted file upload service" %} {# HTML supported #}
{# Used in faq.njk and cookiepolicy.njk #}
{% set rootDomain = "fiery.me" %}
{% set wholeFaq = rootDomain + " website and sub-domains" %}
{% set wholeCookie = "This site and " + rootDomain + " website and sub-domains" %}
{% set email = "bobby@fiery.me" %}
{% set forkRepo = "https://github.com/BobbyWibowo/lolisafe" %}
{% set forkHost = "GitHub" %}
{% set forkIssues = forkRepo + "/issues/new/choose" %}
{% set takedownsUrl = "https://safe.fiery.me/takedowns" %}
{% set supportFaq = 'Thanks! You can become a patron on my <a href="https://www.patreon.com/bobbywibowo" target="_blank" rel="noopener">Patreon</a>!' %} {# HTML supported #}
{% set serverLocation = "Paris, <strong>France</strong>" %} {# HTML supported #}
{#
These are the footer links in the homepage and the No-JS uploader (home.njk & nojs.njk respectively).
In the homepage uploader, they will be displayed as icons,
but you can choose to display them as texts by setting "home_icons" to false.
It will then use the text in "attrs.title" of each links.
Note: No-JS uploader page will have icons disabled by default (it will also not load fontello.css).
#}
{% set home_icons = true %}
{% set home_links = [
{
attrs: {
title: 'Home',
href: 'https://fiery.me'
},
icon: 'icon-home icon-2x'
},
{
attrs: {
title: 'Blog (Gatsby)',
href: 'https://blog.fiery.me'
},
icon: 'icon-gatsby icon-2x'
},
{
attrs: {
title: 'Paste (PrivateBin)',
href: 'https://paste.fiery.me'
},
icon: 'icon-privatebin icon-2x'
},
{
attrs: {
id: 'ShareX',
title: 'ShareX user profile',
href: 'https://safe.fiery.me/safe.fiery.me.sxcu?v=' + v2
},
icon: 'icon-sharex icon-2x'
},
{
attrs: {
title: 'Firefox extension',
href: 'https://addons.mozilla.org/en-US/firefox/addon/lolisafe/',
target: '_blank',
rel: 'noopener'
},
icon: 'icon-firefox icon-2x'
},
{
attrs: {
title: 'Chrome extension',
href: 'https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj',
target: '_blank',
rel: 'noopener'
},
icon: 'icon-chrome icon-2x'
},
{
attrs: {
title: 'Bash uploader',
href: 'https://github.com/BobbyWibowo/uguush/tree/fiery-kde',
target: '_blank',
rel: 'noopener'
},
icon: 'icon-terminal icon-2x'
},
{
attrs: {
title: 'FAQ',
href: 'faq'
},
icon: 'icon-help-circled icon-2x'
},
{
attrs: {
title: 'Dashboard',
href: 'auth'
},
icon: 'icon-gauge icon-2x'
},
{
attrs: {
title: 'View on GitHub',
href: 'https://github.com/BobbyWibowo/lolisafe',
target: '_blank',
rel: 'noopener'
},
icon: 'icon-github-circled icon-2x'
}
] %}