unix2dos
This commit is contained in:
parent
8c80eb5a9f
commit
eb5adadcfb
3 changed files with 6 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -18,6 +18,7 @@ install:
|
|||
fi
|
||||
sudo pip3 install wheel --upgrade
|
||||
sudo pip3 install lektor --upgrade
|
||||
echo -e "Pleas make sure you have unix2dos available!"
|
||||
|
||||
build:
|
||||
if python3 -m lektor --version 2>/dev/null; then
|
||||
|
@ -37,6 +38,7 @@ deploy:
|
|||
lektor clean --yes
|
||||
lektor plugin flush-cache
|
||||
lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS)
|
||||
unix2dos temp/builds/c3woc.de/waffeln.ics
|
||||
lektor deploy $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS)
|
||||
|
||||
pull:
|
||||
|
|
|
@ -6,9 +6,10 @@ UID:{{ blk.start.strftime('%m%H%d%M%Y%S') }}{{ blk.event[:1] }}{{ blk.event[-1:]
|
|||
DTSTART;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.start.strftime('%Y%m%dT%H%M%S') }}
|
||||
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 ') }}
|
||||
DESCRIPTION;LANGUAGE={{ this.lang }}:{{ blk.description|replace( "|", "\\n") | wordwrap(width=35, wrapstring='\n ') }}
|
||||
{%- if blk.url is defined and not blk.url == '' %}\n
|
||||
Weiteres dazu auf {{ blk.url }}{% endif %}
|
||||
Weiteres dazu auf
|
||||
{{ blk.url | wordwrap(width=65, wrapstring='\n ') }}{% endif %}
|
||||
LOCATION;LANGUAGE={{ this.lang }}:{{ blk.ort | wordwrap(width=45, wrapstring='\n ') }}
|
||||
STATUS:
|
||||
{%- if blk.confirmed -%}
|
||||
|
|
|
@ -8,7 +8,7 @@ URL:{{ this.moreinfourl }}
|
|||
REFRESH-INTERVAL;VALUE=DURATION:P2D
|
||||
SOURCE;VALUE=URI:{{ this._path | url(external=true) }}
|
||||
COLOR:{{ this.color }}
|
||||
{# NAME;LANGUAGE={{ this.lang }}:{{ this.name | wordwrap(width=45, wrapstring='\n ') }} #}
|
||||
{#- NAME;LANGUAGE={{ this.lang }}:{{ this.name | wordwrap(width=45, wrapstring='\n ') }} #}
|
||||
DESCRIPTION;LANGUAGE={{ this.lang }}:{{ this.description | wordwrap(width=45, wrapstring='\n ') }}
|
||||
X-WR-CALNAME:{{ this.name | wordwrap(width=45, wrapstring='\n ') }}
|
||||
X-WR-CALDESC:{{ this.description | wordwrap(width=45, wrapstring='\n ') }}
|
||||
|
|
Loading…
Reference in a new issue