diff --git a/cps/templates/author.html b/cps/templates/author.html index 3135b0d2..ce97d846 100644 --- a/cps/templates/author.html +++ b/cps/templates/author.html @@ -41,13 +41,13 @@

{% for author in entry.authors %} - {% if loop.index > config_authors_max and config_authors_max != 0 %} + {% if loop.index > g.config_authors_max and g.config_authors_max != 0 %} {% if not loop.first %} & {% endif %} {{author.name.replace('|',',')|shortentitle(30)}} {% if loop.last %} - (...) + (...) {% endif %} {% else %} {% if not loop.first %} @@ -91,10 +91,10 @@

{{entry.title|shortentitle}}

{% for author in entry.authors %} - {% if loop.index > config_authors_max and config_authors_max != 0 %} + {% if loop.index > g.config_authors_max and g.config_authors_max != 0 %} {{author.name.replace('|',',')}} {% if loop.last %} - (...) + (...) {% endif %} {% else %} {{author.name.replace('|',',')}} diff --git a/cps/templates/discover.html b/cps/templates/discover.html index b6a72a11..532d53a2 100644 --- a/cps/templates/discover.html +++ b/cps/templates/discover.html @@ -19,13 +19,13 @@

{% for author in entry.authors %} - {% if loop.index > config_authors_max and config_authors_max != 0 %} + {% if loop.index > g.config_authors_max and g.config_authors_max != 0 %} {% if not loop.first %} & {% endif %} {{author.name.replace('|',',')|shortentitle(30)}} {% if loop.last %} - (...) + (...) {% endif %} {% else %} {% if not loop.first %} diff --git a/cps/templates/index.html b/cps/templates/index.html index c05339c4..6a475e22 100755 --- a/cps/templates/index.html +++ b/cps/templates/index.html @@ -21,13 +21,13 @@ web. {% for entry in random %}

{% for author in entry.authors %} - {% if loop.index > config_authors_max and config_authors_max != 0 %} + {% if loop.index > g.config_authors_max and g.config_authors_max != 0 %} {% if not loop.first %} & {% endif %} {{author.name.replace('|',',')|shortentitle(30)}} {% if loop.last %} - (...) + (...) {% endif %} {% else %} {% if not loop.first %} @@ -88,13 +88,13 @@ web. {% for entry in random %}

{% for author in entry.authors %} - {% if loop.index > config_authors_max and config_authors_max != 0 %} + {% if loop.index > g.config_authors_max and g.config_authors_max != 0 %} {% if not loop.first %} & {% endif %} {{author.name.replace('|',',')|shortentitle(30)}} {% if loop.last %} - (...) + (...) {% endif %} {% else %} {% if not loop.first %} diff --git a/cps/templates/list.html b/cps/templates/list.html index 32b463fa..9cdc154d 100644 --- a/cps/templates/list.html +++ b/cps/templates/list.html @@ -5,7 +5,9 @@