aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-05-16 13:18:27 -0500
committerJesús <heckyel@hyperbola.info>2021-05-16 13:18:27 -0500
commit7f3d35131c8d993c80d3e03f3bb8096b8834b714 (patch)
tree481431d9a06268905df738e10563f734a6cb9289
parentef8996b656b9cfa52bbcc3e34b93d143a3d97195 (diff)
downloadlibretube-7f3d35131c8d993c80d3e03f3bb8096b8834b714.tar.lz
libretube-7f3d35131c8d993c80d3e03f3bb8096b8834b714.tar.xz
libretube-7f3d35131c8d993c80d3e03f3bb8096b8834b714.zip
Update URL source code
-rw-r--r--libretube-theme/templates/base.html2
-rw-r--r--pelicanconf.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/libretube-theme/templates/base.html b/libretube-theme/templates/base.html
index 25630f6..d09a44b 100644
--- a/libretube-theme/templates/base.html
+++ b/libretube-theme/templates/base.html
@@ -169,7 +169,7 @@
<!-- /LibreJS -->
<!-- source code -->
- <li><a href="https://libregit.org/heckyel/libretube" rel="noopener noreferrer" target="_blank">{{ _('Código fuente') }}</a></li>
+ <li><a href="{{ SOURCE_URL }}" rel="noopener noreferrer" target="_blank">{{ _('Código fuente') }}</a></li>
<!-- /source code -->
</ul>
diff --git a/pelicanconf.py b/pelicanconf.py
index 5544350..09236b4 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -43,8 +43,9 @@ PLUGINS = [
# PAGE_URL = 'pages/{slug}/'
# PAGE_SAVE_AS = 'pages/{slug}/index.html'
SITENAME = 'LibreTube'
-SITENAME_SINGLE = 'CL'
+SITENAME_SINGLE = 'LT'
SITEURL = 'https://lablibre.tuxfamily.org'
+SOURCE_URL = 'https://git.sr.ht/~heckyel/libretube'
# URL settings (http://docs.getpelican.com/en/stable/settings.html#url-settings)
RELATIVE_URLS = True