Collin J. Doering
610d11903b
All changes are detailed below. Both the ajax (default) and nojs version are being generated properly. Remaining tasks include: - theming (css - both versions) - additional work on the templates (both versions [where applicable]) - writing content (used by both versions but only one copy needed) - writing addition js where needed (for default version only) Changes: .gitmodules: added/fixed git submodules; uses bootstrap and jquery-address css/default.css: various minor modifications to make things look sane index.html: home page for default version of site js/default.js: minor modifications to enable carousel and loading of content with ajax news/*: A bunch of bogus news articles to test the generation of the site pages/*: All pages are written here. Giving a 'weight' in the metadata will be used to order the navigation. site.hs: Many changes..see the source. Mostly complete (perhaps consider doing a screen reader version of the site) templates/*: Did various work thoughout the templates (including splitting up some between the different versions (noted by templateName-versionName) templates/archive.html templates/default-nojs.html templates/default.html templates/footer.html templates/nav-nojs.html templates/nav.html templates/news-nojs.html templates/news.html templates/page.html templates/post-list.html templates/post.html templates/recent-news-nojs.html templates/recent-news.html
16 lines
390 B
HTML
16 lines
390 B
HTML
<div id="recent-news-nojs" class="panel panel-default">
|
|
<div class="panel-heading"><strong>Recent News</strong></div>
|
|
<ul class="list-group">
|
|
$for(recentNews)$
|
|
<li class="recent-news-item-nojs list-group-item">
|
|
<a href="$url$"><strong>$title$</strong></a>
|
|
$if(teaser)$
|
|
$teaser$
|
|
$else$
|
|
$body$
|
|
$endif$
|
|
</li>
|
|
$endfor$
|
|
</ul>
|
|
</div>
|