Nikola auto commit.

Nikola version: 8.3.3
src
Patricio García 2025-09-13 15:48:16 +01:00
parent 8a4ab73828
commit e9ef403d43
3 changed files with 8 additions and 2 deletions

Binary file not shown.

View File

@ -187,11 +187,13 @@ THEME = "bootstrap4"
THEME_COLOR = '#5670d4'
# Customizatio setup for Mastodon embed timeline widget (https://gitlab.com/idotj/mastodon-embed-timeline/-/blob/master/docs/SETUP.md#customize) to show Mastodon tooths in your site
MASTODON_TIMELINE_INSTANCE = "txs.es"
MASTODON_TIMELINE_PROFILE = "@EDUCATIC"
MASTODON_TIMELINE_INIT = """
instanceUrl: "https://txs.es",
instanceUrl: 'https://""" + MASTODON_TIMELINE_INSTANCE + """',
timelineType: "profile",
userId: "44",
profileName: "@EDUCATIC",
profileName: '""" + MASTODON_TIMELINE_PROFILE + """',
defaultTheme: "light",
dateFormatLocale: "es",
btnSeeMore: "Ver mas publicaciones en Mastodon",
@ -238,6 +240,7 @@ THEME_CONFIG = {
'imghdr_url': '/assets/img/header.jpg',
'imghdr_height': '100px',
'mastodon_timeline_init': MASTODON_TIMELINE_INIT,
'mastodon_timeline_account': MASTODON_TIMELINE_PROFILE + '@' + MASTODON_TIMELINE_INSTANCE,
}
}

View File

@ -86,6 +86,9 @@ bg-dark
<div class="col-lg-5 col-xl-4">
<div class="container-xl">
<img src="/assets/img/mastodon.svg" width="35" height="35" alt="Mastodon" class="d-inline-block align-top">
%if theme_config.get('mastodon_timeline_account'):
Últimos toots de ${theme_config.get('mastodon_timeline_account')}
%endif
</div>
<!--Mastodon content-->
${mastodon.timeline()}