mirror of
https://github.com/boostorg/website.git
synced 2026-01-19 04:42:17 +00:00
Website: Add documentation link to front page releases.
[SVN r76874]
This commit is contained in:
@@ -15,14 +15,21 @@ for x in downloads:
|
||||
emit('<h3>%s</h3>\n' % label)
|
||||
emit('<ul>\n')
|
||||
for entry in entries:
|
||||
emit('<li><span class="news-title">')
|
||||
emit('<li>')
|
||||
emit('<div class="news-title">')
|
||||
if entry.download_item:
|
||||
emit('<a href="%s">' % htmlencode(entry.download_item))
|
||||
emit(entry.full_title_xml)
|
||||
if entry.download_item:
|
||||
emit('</a>')
|
||||
emit(' (<a href="/%s">release notes</a>)</span>' % (htmlencode(entry.location)))
|
||||
emit('<span class="news-date">%s</span></li>\n' % (entry.web_date()))
|
||||
emit('</div>')
|
||||
emit('<div class="news-date">')
|
||||
emit('<a href="/%s">Release Notes</a>' % (htmlencode(entry.location)))
|
||||
emit(' | ')
|
||||
emit('<a href="%s">Documentation</a>' % (htmlencode(entry.documentation)))
|
||||
emit('</div>')
|
||||
emit('<div class="news-date">%s</div>' % (entry.web_date()))
|
||||
emit('</li>\n')
|
||||
emit('</ul>')
|
||||
}$
|
||||
</div>
|
||||
|
||||
@@ -36,12 +36,13 @@ li#welcome-section-tab {
|
||||
}
|
||||
#news .news-title {
|
||||
display: block;
|
||||
margin-bottom: 0.2em;
|
||||
}
|
||||
#news .news-description {
|
||||
display: block;
|
||||
padding: 0.25em 0em 0.25em 0em;
|
||||
}
|
||||
#news .news-date {
|
||||
#news.news-links, #news .news-date {
|
||||
display: block;
|
||||
padding: 0em 0em 0.5em 0em;
|
||||
color: #777;
|
||||
|
||||
Reference in New Issue
Block a user