Commit 318d1a45 authored by rgaudin's avatar rgaudin
Browse files

Fixed ZIM icon display on homepage

parent 25c7eada
2.0.8
* fixed ZIM icon display on homepage
2.0.7
* fixed size evaluation for KA-lite
* removed leftovers files on cards after use (kalite, aflatoun lang packs)
......
......@@ -7,7 +7,7 @@
- name: Add CSS for package icon
lineinfile:
dest: /var/www/static/cards.css
line: '.card.{{ item|splitext|first|replace(".", "\.") }} { background-image: url("http://{{ kiwix_fqdn }}/{{ item }}/-/favicon"); }'
line: '.card.zim_{{ item|splitext|first|replace(".", "\.") }} { background-image: url("http://{{ kiwix_fqdn }}/meta?content={{ item }}&name=favicon"); }'
insertafter: EOF
state: present
with_items: '{{ ansible_local.config.packages | default(omit) }}'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment