parent
8a4ab73828
commit
e9ef403d43
BIN
.doit.db.db
BIN
.doit.db.db
Binary file not shown.
7
conf.py
7
conf.py
|
@ -187,11 +187,13 @@ THEME = "bootstrap4"
|
||||||
THEME_COLOR = '#5670d4'
|
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
|
# 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 = """
|
MASTODON_TIMELINE_INIT = """
|
||||||
instanceUrl: "https://txs.es",
|
instanceUrl: 'https://""" + MASTODON_TIMELINE_INSTANCE + """',
|
||||||
timelineType: "profile",
|
timelineType: "profile",
|
||||||
userId: "44",
|
userId: "44",
|
||||||
profileName: "@EDUCATIC",
|
profileName: '""" + MASTODON_TIMELINE_PROFILE + """',
|
||||||
defaultTheme: "light",
|
defaultTheme: "light",
|
||||||
dateFormatLocale: "es",
|
dateFormatLocale: "es",
|
||||||
btnSeeMore: "Ver mas publicaciones en Mastodon",
|
btnSeeMore: "Ver mas publicaciones en Mastodon",
|
||||||
|
@ -238,6 +240,7 @@ THEME_CONFIG = {
|
||||||
'imghdr_url': '/assets/img/header.jpg',
|
'imghdr_url': '/assets/img/header.jpg',
|
||||||
'imghdr_height': '100px',
|
'imghdr_height': '100px',
|
||||||
'mastodon_timeline_init': MASTODON_TIMELINE_INIT,
|
'mastodon_timeline_init': MASTODON_TIMELINE_INIT,
|
||||||
|
'mastodon_timeline_account': MASTODON_TIMELINE_PROFILE + '@' + MASTODON_TIMELINE_INSTANCE,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,9 @@ bg-dark
|
||||||
<div class="col-lg-5 col-xl-4">
|
<div class="col-lg-5 col-xl-4">
|
||||||
<div class="container-xl">
|
<div class="container-xl">
|
||||||
<img src="/assets/img/mastodon.svg" width="35" height="35" alt="Mastodon" class="d-inline-block align-top">
|
<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>
|
</div>
|
||||||
<!--Mastodon content-->
|
<!--Mastodon content-->
|
||||||
${mastodon.timeline()}
|
${mastodon.timeline()}
|
||||||
|
|
Loading…
Reference in New Issue