640e0f5864
* Add a migration to drop the old countries field. * Update all templates/views/utility methods to point at the new country field and dereference it as necessary. * Add the flags images to a few views where it makes sense. * Cleanup the download page layout quite a bit. * Bump the mirror status JSON version to 3; add country_code attribute. Signed-off-by: Dan McGee <dan@archlinux.org>
14 lines
615 B
Plaintext
14 lines
615 B
Plaintext
{% comment %}
|
|
Yes, ugly templates are ugly, but in order to keep line breaks where we want
|
|
them, sacrifices have to be made. If editing this template, it is easiest to
|
|
forget about where line breaks are happening until you are done getting the
|
|
content right, and then go back later to fix it all up.
|
|
{% endcomment %}{% autoescape off %}##
|
|
## Arch Linux repository mirrorlist
|
|
## Generated on {% now "Y-m-d" %}
|
|
##{% for mirror_url in mirror_urls %}{% ifchanged %}
|
|
|
|
## {{ mirror_url.real_country.name|default:'Worldwide' }}{% endifchanged %}
|
|
#Server = {{ mirror_url.url}}$repo/os/$arch{% endfor %}
|
|
{% endautoescape %}
|