Mercurial > public > bravenewsurf
view bns_website/static/css/base.css @ 41:9ce9f77d6cde
I added a get_absolute_url() to the news model so I can use that in the news template tag to create a link to the correct anchor on the news list page.
The link works, but for some reason it goes to the beginning of the article content and not to the title. I've played around with the article tag and making an aside tag with an id and for whatever reason it always goes to the article content.
author | Bob Mourlam <bob.mourlam@gmail.com> |
---|---|
date | Sun, 06 Nov 2011 22:13:27 -0600 |
parents | b9d6f6d930a9 |
children | 9936cae358d9 |
line wrap: on
line source
body { padding-top: 60px } .social-sharing { margin-top: 1.5em; } .social-sharing ul { margin-left: 0px; list-style: none; } .social-sharing li { display: inline-block; vertical-align: top; } /* ----------------------------------------------- Reviews Styles ----------------------------------------------- */ ul.review-list { list-style-type: none; } li.review-list-item { margin-bottom: 30px; } .article { margin-bottom: 1.5em; }