Skip to content
Permalink
Browse files
publication_list: move "abstract and details" to the first item.
  • Loading branch information
xuhdev committed Feb 28, 2017
1 parent 318f5b4 commit 147b69951a6e8402bbc1d02e197e03d2b105e240
Showing with 2 additions and 2 deletions.
  1. +2 −2 v7/publication_list/publication_list.py
@@ -132,11 +132,10 @@ def run(self):

if extra_links or detail_page_dir:
html += '<br>'
html += extra_links

if detail_page_dir: # render the details page of a paper
page_url = '/'.join((detail_page_dir, label + '.html'))
html += ' [<a href="{}">abstract and details</a>]'.format(
html += '[<a href="{}">abstract and details</a>] '.format(
self.site.config['BASE_URL'] + page_url)
context = {
'title': str(LaTeXParser(entry.fields['title']).parse()),
@@ -161,6 +160,7 @@ def run(self):
context,
)

html += extra_links
html += '</li>'

if len(data) != 0: # publication list is nonempty

0 comments on commit 147b699

Please sign in to comment.