diff options
author | mjfernez <mjf@mjfer.net> | 2023-07-14 12:21:39 -0400 |
---|---|---|
committer | mjfernez <mjf@mjfer.net> | 2023-07-14 12:21:39 -0400 |
commit | 50b72b5787338ee3c0ef0a4aebfcdf8acf3c3a08 (patch) | |
tree | 4f85051da0f840e7322280314346e4f97d21fb4d /templates/index.html | |
parent | 74183573ed3b62adb34e15383a6ce513de22b887 (diff) | |
download | ezcms-50b72b5787338ee3c0ef0a4aebfcdf8acf3c3a08.tar.gz |
Target set to open in new tab by default. +Images
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index b612c63..103bc57 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,20 +8,20 @@ {% if dirs %} <h3 class="center">Topics</h3> {% for d in dirs %} -<li><a href="{{ cur_dir }}{{ d }}">{{ d }}</a></li> +<li><a href="{{ cur_dir }}{{ d }}" target="_self">{{ d }}</a></li> {% endfor %} {% endif %} {% if files %} <h3 class="center">File Listing</h3> {% for f in files %} -<li><a href="{{ cur_dir }}{{ f }}">{{ f.rstrip('!') }}</a></li> +<li><a href="{{ cur_dir }}{{ f }}" target="_self">{{ f.rstrip('!') }}</a></li> {% endfor %} {% endif %} {% if links %} {% for l in links %} -<li><a href="{{ l.split(',')[1] }}" target="_blank" rel="noopener noreferrer">{{l.split(',')[0]}}</a></li> +<li><a href="{{ l.split(',')[1] }}" rel="noopener noreferrer">{{l.split(',')[0]}}</a></li> {% endfor %} {% endif %} </center> |