Browse Source

Add link to calendar entry

master
L3D 4 months ago
parent
commit
8986bbef5d
No known key found for this signature in database GPG Key ID: 5215C3441797AB2B
  1. 4
      Makefile
  2. 2
      templates/events/event.ics

4
Makefile

@ -19,11 +19,11 @@ install:
if hash apt-get 2>/dev/null; then
apt-get update -qq >/dev/null && apt-get install -qq apt-utils imagemagick python3-pip python3-setuptools gcc git-lfs
elif hash pacman 2>/dev/null; then
pacman -Sy imagemagick python-pip glibc lib32-glibc gcc git-lfs docs2unix --noconfirm
pacman -Sy imagemagick python-pip glibc lib32-glibc gcc git-lfs dos2unix --noconfirm
elif hash dnf 2>/dev/null; then
dnf install -y ImageMagick python3-pip gcc git-lfs
else
echo -e "Please install Imagemagick, python3-pip git-lfs and gcc docs2unix"
echo -e "Please install Imagemagick, python3-pip git-lfs and gcc dos2unix"
fi
pip3 install wheel --upgrade
pip3 install lektor --upgrade

2
templates/events/event.ics

@ -8,7 +8,7 @@ DTSTAMP;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.start.strftime('%Y%m%dT%H%M%S'
CLASS:PUBLIC
DESCRIPTION;LANGUAGE={{ this.lang }}:{{ blk.description|replace( "|", "\n") | wordwrap(width=45, wrapstring='\n ') }}
{%- if blk.url is defined and not blk.url == '' %}\n
{{ blk.url }}{% endif %}
Weiteres dazu auf {{ blk.url }}{% endif %}
LOCATION;LANGUAGE={{ this.lang }}:{{ blk.ort | wordwrap(width=45, wrapstring='\n ') }}
STATUS:
{%- if blk.confirmed -%}

Loading…
Cancel
Save