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'
|
||||
|
||||
# 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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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()}
|
||||
|
|
Loading…
Reference in New Issue