Compare commits

...

24 Commits

Author SHA1 Message Date
meaz dbcf3537e5 Merge pull request 'update from old logo to new one' (#14) from logo into main
Reviewed-on: Disroot-themes/grav-theme-disrootblog#14
Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
Reviewed-by: Fede.- <fede@no-reply@disroot.org>
2024-02-22 06:38:44 +00:00
meaz a76479b561
update from old logo to new one 2024-02-17 19:14:11 +01:00
meaz 3f53186e25 Merge pull request '404 error on js and favicon not displaying' (#13) from 404_fix into main
Reviewed-on: Disroot-themes/grav-theme-disrootblog#13
Reviewed-by: Fede.- <fede@no-reply@disroot.org>
2024-02-13 16:26:29 +00:00
meaz 7dbe51d900 Merge branch 'main' into 404_fix 2024-02-07 18:14:24 +00:00
meaz 5bb5932bdd Merge pull request 'Make blog footer look the same as the one from main theme (grav-theme-disroot)' (#12) from floss4good/Disroot-themes__grav-theme-disrootblog:main into main
Reviewed-on: Disroot-themes/grav-theme-disrootblog#12
2024-02-07 18:12:26 +00:00
floss4good ad1723a409
fix: Added CC BY-SA icon (Disroot beetroot flavor) for blog theme 2024-02-07 17:09:32 +02:00
meaz 99ed2584bf
add disroot favicon 2024-02-06 22:47:38 +01:00
meaz 3b7267e3a5
fix favicon not deplaying + js giving 404 errors 2024-02-06 22:47:24 +01:00
floss4good 73c9712956
Comment out CSS related to #footer-logo 2024-02-06 02:29:57 +02:00
floss4good 39a51533af
style: Make footer look the same as in grav-theme-disroot
Refs: /Disroot-themes/grav-theme-disroot/pulls/75/
2024-02-06 02:07:06 +02:00
meaz 577231a53b Merge pull request 'fix: change Mastodon link to NixNet' (#11) from floss4good/Disroot-themes__grav-theme-disrootblog:main into main
Reviewed-on: Disroot-themes/grav-theme-disrootblog#11
Reviewed-by: meaz <meaz@no-reply@disroot.org>
2024-01-17 08:31:22 +00:00
floss4good 6fed2f3e24 fix: change Mastodon link to NixNet
(same as in grav-theme-disroot)
2024-01-15 23:30:20 +00:00
meaz f54331baa7 Fix word break in footer + font size in mobile view (#10)
Fix Disroot/Website#324

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: Disroot/grav-theme-disrootblog#10
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
2022-02-25 21:41:11 +00:00
meaz 7e4956e0a6 tagcloud errorr with links (#9)
Fix error with links in blog (check Disroot/Website#303)

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: Disroot/grav-theme-disrootblog#9
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
2022-01-08 05:46:30 +00:00
meaz ed55ea17a2 fix #303 and #304 and #305 : tagcloud and footer (#8)
see Disroot/Website#303 and Disroot/Website#304 and Disroot/Website#305 (comment)

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: Disroot/grav-theme-disrootblog#8
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
2022-01-03 16:07:20 +00:00
meaz 31f879dcdc Update to theme 1.2.1 (#6)
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: Disroot/grav-theme-disrootblog#6
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
2021-12-29 09:47:50 +00:00
meaz fd4d9b7d2f Merge pull request 'fix tag links in blog' (#5) from blog into master
Reviewed-on: Disroot/grav-theme-disrootblog#5
2021-05-03 16:39:42 +00:00
meaz edfe1595d6
fix tag links in blog 2021-05-02 10:01:19 +02:00
meaz cf3d02848f Merge pull request 'fix links in footer for all languages' (#3) from footer_internat into master
Reviewed-on: Disroot/grav-theme-disrootblog#3
2021-04-10 07:22:29 +00:00
meaz ffd6a658f1
better handle footer translation 2021-04-10 09:20:44 +02:00
meaz 13ddee82b6
fix links in footer for all languages 2021-04-09 09:16:55 +02:00
antilopa 55c45a96c5 Merge pull request 'Fixed hard coded links' (#2) from fix_footer_links into master
Reviewed-on: Disroot/grav-theme-disrootblog#2
2021-04-08 20:25:05 +00:00
antilopa 75a082bb61 Fixed hard coded links 2021-04-08 22:14:47 +02:00
meaz 3523d1441c Merge pull request 'adding a footer for blog section.' (#1) from urbasius/grav-theme-disrootblog:add_rss_button_to_blog into master
Reviewed-on: Disroot/grav-theme-disrootblog#1
2020-11-15 06:26:18 +00:00
24 changed files with 208 additions and 216 deletions

View File

@ -1,3 +1,18 @@
# v1.2.1
## 01/19/2021
1. [](#improved)
* Fixed autoescaping in preparation for Grav 1.7
# v1.2.0
## 03/21/2019
1. [](#new)
* Set Dependency of Grav 1.5.10+ which has support for new **Deferred Block** Twig extension
* Implement assets rendering using **Deferred Block** Twig extension
1. [](#improved)
* Added twig `t` filter for submit button translation in comments form
# v1.1.0
## 07/14/2016
@ -7,7 +22,7 @@
* Use https for Gravatar request as default
1. [](#bugfix)
* Fix setting the page language in the html tag
* Fixed pagination
* Fixed pagination
* Use the correct parameter separator in the blog post template
# v1.0.1

View File

@ -1,5 +1,7 @@
name: disrootblog
version: 1.1.0
slug: disrootblog
type: theme
version: 1.2.1
description: "A clean and simple theme for bloggers, with responsive design and beautiful typography."
icon: group
author:
@ -11,3 +13,5 @@ demo: http://demo.getgrav.org/lingonberry-skeleton
keywords: lingonberry, theme, onepage, modern, fast, responsive, html5, css3
bugs: https://github.com/getgrav/grav-theme-lingonberry/issues
license: GPL
dependencies:
- { name: grav, version: '>=1.5.10' }

View File

@ -6,6 +6,7 @@
letter-spacing: 0.5px;
margin-bottom: 0px;
height: 100%;
font-size: 10px;
}
footer div#footer-links ul li {
@ -13,9 +14,15 @@
padding-right: 5px;
}
footer #footer-links {
text-align: center;
width: 100%;
}
/* Icons */
footer #footer-icons { display: none; }
footer #footer-logo { display: none; }
/*footer #footer-logo { display: none; }*/
footer #footer-left { display: none; }
/* Go To Top Button */
#go-top { margin-left: -22px; }
@ -25,4 +32,4 @@
font-size: 18px;
line-height: 54px;
}
}
}

View File

@ -94,12 +94,6 @@ body {
font-family: 'Lato', 'Helvetica Neue', sans-serif;
font-size: 16px;
-ms-word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
body a {
@ -1735,19 +1729,51 @@ footer {
justify-content: center;
text-align: center;
align-items: center;
height: 82px;
}
/* there is no logo anymore in the footer
* TODO: d-white.png should probably be removed since is not used elsewhere
footer #footer-logo {
height: 45px;
width: 15%;
background: url("../images/d-white.png") no-repeat left center;
background-size: 40px 40px;
margin-left: 30px;
background: url("../images/d-white.png") no-repeat center;
background-size: contain;
margin-bottom: 0;
margin-left: 1dvw;
opacity: 0.7;
display: inline-block;
}
*/
footer #footer-left {
display: flex;
width: 150px;
background: transparent;
align-items: center;
margin-left: 10px;
}
#footer-copyleft {
background: url("../images/by-sa.png") no-repeat center;
background-size: contain;
margin-bottom: 0;
margin-left: 1dvw;
opacity: 0.7;
}
/* there is no logo anymore in the footer
#footer-logo a {
display: flex;
width: 45px;
height: 45px;
margin-bottom: 0;
}
*/
#footer-copyleft a {
display: flex;
width: 120px;
height: 40px;
margin-bottom: 0;
}
footer .dot {
height: 5px;
width: 5px;
@ -1756,71 +1782,84 @@ footer {
display: inline-block;
margin-bottom: 2px;
}
footer #footer-links {
text-align: center;
width: 60%;
width: calc(100% - 300px);
}
footer ul.footer-links {
display: flex;
justify-content: center;
justify-content: space-evenly;
align-items: center;
padding-left: 0;
padding-left: 10%;
padding-right: 10%;
margin-bottom: 24px;
margin-top: 12px;
word-break: normal;
}
footer ul.footer-icons {
display: flex;
justify-content: end;
margin-right: 30px;
align-items: center;
}
footer ul.footer-icons-left {
display: inline-flex;
width: 100%;
justify-content: left;
align-items: center;
margin: 0;
padding: 0;
}
footer ul.footer-icons-right{
display: inline-flex;
width: 100%;
justify-content: right;
align-items: center;
margin: 0;
padding: 0;
}
footer div#footer-links ul li {
padding-left: 20px;
padding-right: 20px;
padding-left: 8px;
padding-right: 8px;
margin: 0;
padding-top: 13px;
font-weight: 600;
text-align: center;
line-height: 1.5em;
}
footer #footer-links a {
color: #b9a2ab;
}
footer #footer-links a:hover {
color: #FFFFFF;
}
footer #footer-icons {
width: 25%;
width: 150px;
background: transparent;
margin-left: auto;
margin-right: auto;
margin-right: 10px;
text-align: center;
margin-bottom: 24px;
margin-top: 12px;
}
footer #footer-icons ul li {
margin: 0;
padding-right: 10px;
padding-top: 10px;
text-align: right;
margin-right: 1dvw;;
text-align: center;
}
footer #footer-icons ul li .fa-fw {
display: flex;
color: white;
opacity: 0.7;
height: 45px;
align-items: center;
}
footer #footer-icons ul li .fa-fw:hover {
color: white;
opacity: 1;
}
footer a, footer a:visited { color: #FFFFFF; }
footer a:hover, footer a:focus { color: #1F5C60; }

BIN
images/by-sa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

24
languages.yaml Normal file
View File

@ -0,0 +1,24 @@
en:
Terms_Of_Service: "Terms Of Service"
Privacy_Policy: "Privacy Policy"
Changelog: "Change&shy;log"
fr:
Terms_Of_Service: "Conditions d'utilisation"
Privacy_Policy: "Politique de confidentialité"
Changelog: "Change&shy;log"
es:
Terms_Of_Service: "Al utilizar cualquiera"
Privacy_Policy: "Política de Privacidad"
Changelog: "Change&shy;log"
de:
Terms_Of_Service: "Nutzungs&shy;bedingungen"
Privacy_Policy: "Datenschutz&shy;erklärung"
Changelog: "Change&shy;log"
it:
Terms_Of_Service: "Utilizzando i servizi"
Privacy_Policy: "Informativa sulla privacy"
Changelog: "Change&shy;log"

View File

@ -14,7 +14,7 @@
{% block content %}
{{ page.content }}
{{ page.content|raw }}
{% for child in collection %}
{% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %}
{% endfor %}

View File

@ -1,21 +0,0 @@
{% set base_url = page.parent.url %}
<footer>
<div id="footer-logo" ><a href="{{ base_url }}/contact"></a></div>
<div id="footer-links">
<ul class="footer-links">
<li>Copyleft Disroot.org</li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/tos">Nutzungsbedingungen</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/privacy_policy">Datenschutzerklärung</a></li>
</ul>
</div>
<div id="footer-icons">
<ul class="footer-icons">
<li><a href="https://hub.disroot.org/channel/disroot"><i class="fa fa-hubzilla fa-fw fa-3x"></i></a></li>
<li><a href="https://social.weho.st/@disroot"><i class="fa fa-mastodon fa-fw fa-3x"></i></a></li>
<li><a href="{{ base_url }}/blog.atom"><i class="fa fa-rss-square fa-fw fa-3x"></i></a></li>
</ul>
</div>
</footer>

View File

@ -7,7 +7,7 @@
<h2 class="post-title">{{ page.header.title }}</h2>
</div>
<div class="post-content">
{{ page.content }}
{{ page.content|raw }}
</div>
<div class="clear"></div>
</div>

View File

@ -7,7 +7,7 @@
<h2 class="post-title">Error {{ page.header.http_response_code }}</h2>
</div>
<div class="post-content">
{{ page.content }}
{{ page.content|raw }}
</div>
<div class="clear"></div>
</div>

View File

@ -1,21 +0,0 @@
{% set base_url = page.parent.url %}
<footer>
<div id="footer-logo" ><a href="{{ base_url }}/contact"></a></div>
<div id="footer-links">
<ul class="footer-links">
<li>Copyleft Disroot.org</li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/tos">Al utilizar cualquiera</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/privacy_policy">Política de Privacidad</a></li>
</ul>
</div>
<div id="footer-icons">
<ul class="footer-icons">
<li><a href="https://hub.disroot.org/channel/disroot"><i class="fa fa-hubzilla fa-fw fa-3x"></i></a></li>
<li><a href="https://social.weho.st/@disroot"><i class="fa fa-mastodon fa-fw fa-3x"></i></a></li>
<li><a href="{{ base_url }}/blog.atom"><i class="fa fa-rss-square fa-fw fa-3x"></i></a></li>
</ul>
</div>
</footer>

View File

@ -7,7 +7,7 @@
<h2 class="post-title">{{ page.header.title }}</h2>
</div>
<div class="post-content">
{{ content }}
{{ content|raw }}
</div>
{% if config.plugins.form.enabled %}
{% include "forms/form.html.twig" %}

View File

@ -7,7 +7,7 @@
<h2 class="post-title">{{ form.message }}</h2>
</div>
<div class="post-content">
{{ content }}
{{ content|raw }}
</div>
{% if config.plugins.form.enabled %}
{% include "forms/data.html.twig" %}

View File

@ -1,21 +0,0 @@
{% set base_url = page.parent.url %}
<footer>
<div id="footer-logo" ><a href="{{ base_url }}/contact"></a></div>
<div id="footer-links">
<ul class="footer-links">
<li>Copyleft Disroot.org</li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/tos">Conditions d'utilisation</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/privacy_policy">Politique de confidentialité</a></li>
</ul>
</div>
<div id="footer-icons">
<ul class="footer-icons">
<li><a href="https://hub.disroot.org/channel/disroot"><i class="fa fa-hubzilla fa-fw fa-3x"></i></a></li>
<li><a href="https://social.weho.st/@disroot"><i class="fa fa-mastodon fa-fw fa-3x"></i></a></li>
<li><a href="{{ base_url }}/blog.atom"><i class="fa fa-rss-square fa-fw fa-3x"></i></a></li>
</ul>
</div>
</footer>

View File

@ -1,21 +0,0 @@
{% set base_url = page.parent.url %}
<footer>
<div id="footer-logo" ><a href="{{ base_url }}/contact"></a></div>
<div id="footer-links">
<ul class="footer-links">
<li>Copyleft Disroot.org</li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/tos">Utilizzando i servizi</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/privacy_policy">Informativa sulla privacy</a></li>
</ul>
</div>
<div id="footer-icons">
<ul class="footer-icons">
<li><a href="https://hub.disroot.org/channel/disroot"><i class="fa fa-hubzilla fa-fw fa-3x"></i></a></li>
<li><a href="https://social.weho.st/@disroot"><i class="fa fa-mastodon fa-fw fa-3x"></i></a></li>
<li><a href="{{ base_url }}/blog.atom"><i class="fa fa-rss-square fa-fw fa-3x"></i></a></li>
</ul>
</div>
</footer>

View File

@ -2,50 +2,53 @@
<html lang="{{ grav.language.getLanguage ?: 'en' }}">
<head>
{% block head %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title }} | {% endif %}{{ site.title }}</title>
{% include 'partials/metadata.html.twig' %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/png" href="{{ theme_url }}/images/favicon.ico" />
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title }} | {% endif %}{{ site.title }}</title>
{% include 'partials/metadata.html.twig' %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.ico') }}" />
<!--link rel='stylesheet' id='lingonberry_googleFonts-css' href='//fonts.googleapis.com/css?family=Lato%3A400%2C700%2C400italic%2C700italic%7CRaleway%3A600%2C500%2C400&#038;ver=4.3.1' type='text/css' media='all' /-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
{% block stylesheets %}
{% do assets.addCss('theme://css/widget.css') %}
{% do assets.addCss('theme://css/style.css') %}
{% block stylesheets %}
{% do assets.addCss('theme://css/widget.css') %}
{% do assets.addCss('theme://css/style.css') %}
{% do assets.addCss('theme://css/media-queries.css') %}
{% do assets.addCss('theme://css/content.css') %}
{% do assets.addCss('theme://css/sidebar.css') %}
{% do assets.addCss('theme://css/lightbox.css') %}
{% if browser.getBrowser == 'msie' and browser.getVersion >= 7 and browser.getVersion <= 8 %}
{% do assets.addCss('theme://css/ie.css') %}
{% endif %}
{% endblock %}
{{ assets.css() }}
{% do assets.addCss('theme://css/content.css') %}
{% do assets.addCss('theme://css/sidebar.css') %}
{% do assets.addCss('theme://css/lightbox.css') %}
{% if browser.getBrowser == 'msie' and browser.getVersion >= 7 and browser.getVersion <= 8 %}
{% do assets.addCss('theme://css/ie.css') %}
{% endif %}
{% endblock %}
{% block javascripts %}
{% do assets.add('jquery',101) %}
{% endblock %}
{{ assets.js() }}
{% block javascripts %}
{% do assets.add('jquery',101) %}
{% endblock %}
{% if site.calendar %}
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type="text/javascript">
$(function() {
$( "#calendar_wrap" ).datepicker({
hideIfNoPrevNext: true
});
{% if site.calendar %}
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type="text/javascript">
$(function() {
$( "#calendar_wrap" ).datepicker({
hideIfNoPrevNext: true
});
</script>
{% endif %}
});
</script>
{% endif %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
{% endblock head %}
</head>
<body class="{{ page.header.body_classes }}">
{% block navigation %}
{% include 'partials/navigation.html.twig' %}
{% include 'partials/navigation.html.twig' %}
{% endblock %}
{% block header %}
{% include 'partials/header.html.twig' %}
@ -62,8 +65,14 @@
{% block footer %}
{% include 'partials/footer.html.twig' %}
{% endblock %}
<script type='text/javascript' src='{{ theme_url }}/js/flexslider.min.js'></script>
<script type='text/javascript' src='{{ theme_url }}/js/global.js'></script>
</body>
</html>
{% block bottomscripts %}
{% do assets.addJs('theme://js/flexslider.min.js', { group: 'bottom' }) %}
{% do assets.addJs('theme://js/global.js', { group: 'bottom' }) %}
{% endblock %}
{% block bottom %}
{{ assets.js('bottom')|raw }}
{% endblock %}
</body>
</html>

View File

@ -53,7 +53,7 @@
<iframe width="100%" height="403" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{{ page.header.soundcloud }}&amp;auto_play=false&amp;hide_related=true&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true&amp;buying=false"></iframe>
{% endif %}
{% if page.media.images|first and not page.header.slideshow %}
{{ page.media.images|first.cropZoom(750,422).html('','', 'thumb') }}
{{ page.media.images|first.cropZoom(750,422).html('','', 'thumb')|raw }}
{% endif %}
{% if page.header.description %}
<div class="media-caption-container">
@ -100,7 +100,7 @@
<span class="date-sep"> / </span>
{% if page.taxonomy.tag %}
{% for tag in page.taxonomy.tag %}
<a href="{{ base_url }}/tag:{{ tag }}" rel="tag">{{ tag }}{% if not loop.last %}, {% endif %}</a>
<a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ tag }}" rel="tag">{{ tag }}{% if not loop.last %}, {% endif %}</a>
{% endfor %}
{% endif %}
</div>
@ -111,16 +111,16 @@
<div class="post-content">
{% if page.header.type != 'quote' and page.header.type != 'video' and page.header.type != 'link' and page.header.type != 'chat' and page.header.type != 'aside' %}
{% if page.header.continue_link is sameas(false) %}
{{ page.content }}
{{ page.content|raw }}
{% if not truncate %}
{% set show_prev_next = true %}
{% endif %}
{% elseif truncate and page.summary != page.content %}
{{ page.summary }}
{{ page.summary|raw }}
{% elseif truncate %}
{{ page.content|truncate(550) }}
{{ page.content|truncate(550)|raw }}
{% else %}
{{ page.content }}
{{ page.content|raw }}
{% set show_prev_next = true %}
{% endif %}
<p>
@ -131,7 +131,7 @@
{% endif %}
</p>
{% else %}
{{ page.content }}
{{ page.content|raw }}
{% endif %}
</div>
</div>

View File

@ -41,7 +41,7 @@
<p class="form-submit">
{% for button in grav.config.plugins.comments.form.buttons %}
<button class="submit" type="{{ button.type|default('submit') }}">{{ button.value|default('Post Comment') }}</button>
<button class="submit" type="{{ button.type|default('submit') }}">{{ button.value|t|default('Post Comment') }}</button>
{% endfor %}
</p>

View File

@ -6,21 +6,26 @@
</div>
</div>
<footer>
<div id="footer-logo" ><a href="{{ base_url }}/contact"></a></div>
<div id="footer-left">
<ul class="footer-icons-left">
<div id="footer-copyleft"><a href="https://git.disroot.org/Disroot/Website#license"></a></div>
</ul>
</div>
<div id="footer-links">
<ul class="footer-links">
<li>Copyleft Disroot.org</li>
<li><a href="{{ base_url }}/tos">{{ 'Terms_Of_Service'|t }}</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/tos">Terms Of Service</a></li>
<li><a href="{{ base_url }}/privacy_policy">{{ 'Privacy_Policy'|t }}</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/privacy_policy">Privacy Policy</a></li>
<li><a href="{{ base_url }}/changelog">{{ 'Changelog'|t }}</a></li>
<li><span class="dot"></span></li>
<li><a href="{{ base_url }}/tor">{{ 'Tor Onion'|t }}</a></li>
</ul>
</div>
<div id="footer-icons">
<ul class="footer-icons">
<li><a href="https://hub.disroot.org/channel/disroot"><i class="fa fa-hubzilla fa-fw fa-3x"></i></a></li>
<li><a href="https://social.weho.st/@disroot"><i class="fa fa-mastodon fa-fw fa-3x"></i></a></li>
<li><a href="{{ base_url }}/blog.atom"><i class="fa fa-rss-square fa-fw fa-3x"></i></a></li>
<ul class="footer-icons-right">
<li><a href="https://nixnet.social/disroot"><i class="fa fa-mastodon fa-fw fa-3x"></i></a></li>
<li><a href="{{ base_url }}/blog.atom"><i class="fa fa-rss-square fa-fw fa-3x"></i></a></li>
</ul>
</div>
</footer>

View File

@ -3,7 +3,7 @@
{% if related %}
<div class="item-img">
{% if related.media.images|first %}
{{ related.media.images|first.forceResize(230,160).html }}
{{ related.media.images|first.forceResize(230,160).html|raw }}
{% else %}
<a href="{{ related.url }}" title="{{ related.title }}">
<img src='' title="{{ related.title }}" alt="{{ related.title }}" style="width:222px;height:154px;">

View File

@ -20,7 +20,7 @@
{% elseif percent >= 50 and percent < 80 %}
{% set class = 'large' %}
{% endif %}
<span class="{{ class }}" title="{{ value }} posts"><a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }}</a></span>
<span class="{{ class }}" title="{{ value }} posts"><a href="/blog/tag{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }}</a></span>
{% endif %}
{% endfor %}
</div>

View File

@ -1,27 +0,0 @@
{% set taxlist = taxonomylist.get() %}
{% if taxlist %}
{% set max = max(taxlist['tag']) %}
{% set threshold = 0 %}
{% if config.plugins.tagcloud.threshold is defined %}
{% set threshold = config.plugins.tagcloud.threshold %}
{% endif %}
<div id="tagcloud">
{% for tax,value in taxlist['tag']|ksort %}
{% set percent = (value / max) * 100 %}
{% if percent > threshold %}
{% set class = 'largest' %}
{% if percent < 20 %}
{% set class = 'smallest' %}
{% elseif percent >= 20 and percent < 40 %}
{% set class = 'small' %}
{% elseif percent >= 40 and percent < 60 %}
{% set class = 'medium' %}
{% elseif percent >= 50 and percent < 80 %}
{% set class = 'large' %}
{% endif %}
<span class="{{ class }}" title="{{ value }} posts"><a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }}</a></span>
{% endif %}
{% endfor %}
</div>
{% endif %}