diff --git a/config/config.ini.example b/config/config.ini.example
index b0a38c7..88467d2 100644
--- a/config/config.ini.example
+++ b/config/config.ini.example
@@ -24,6 +24,9 @@ social.twitter = "https://twitter.com"
social.facebook = "https://www.facebook.com"
social.google = "https://plus.google.com"
social.tumblr = "http://www.tumblr.com"
+social.hubzilla = ""
+social.gnusocial = ""
+social.diaspora = ""
; Custom menu link.
; See example below:
diff --git a/system/includes/functions.php b/system/includes/functions.php
index 2096806..c822bdc 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -1814,6 +1814,9 @@ function social($imgDir = null)
$google = config('social.google');
$tumblr = config('social.tumblr');
$rss = site_url() . 'feed/rss';
+ $hubzilla = config('social.hubzilla');
+ $gnusocial = config('social.gnusocial');
+ $diaspora = config('social.diaspora');
if ($imgDir === null) {
$imgDir = "default/img/";
@@ -1835,6 +1838,18 @@ function social($imgDir = null)
echo '
';
}
+ if (!empty($hubzilla)) {
+ echo '
';
+ }
+
+ if (!empty($gnusocial)) {
+ echo '
';
+ }
+
+ if (!empty($diaspora)) {
+ echo '
';
+ }
+
echo '
';
}
diff --git a/themes/blog/layout.html.php b/themes/blog/layout.html.php
index ee8a673..3555baf 100644
--- a/themes/blog/layout.html.php
+++ b/themes/blog/layout.html.php
@@ -54,6 +54,9 @@