09a4b021c1
Repair menu highlighting, both for main menu and submenus
...
During the recent improvements made on the website, the menus and
submenu highlighting for selected menus fell into disarray.
Correction requires changes to the CSS and templates both, because
Django doesn't really have a convenient way to set variables in
templates to use to solve this.
There are still a few submenu items highlighting not working even
after this commit. More work needs to be done.
2021-10-21 08:39:47 -07:00
9a0cb169d1
update staff and bug fix for /news menu
2021-10-19 08:36:32 -07:00
Daniel Pono Takamori
587e508b6f
add /press and make that kit page
...
fix urls for press and learn
start work on new news partial submenu
2021-10-19 06:50:26 -07:00
Daniel Pono Takamori
f8ed23db22
no-vizio
2021-10-19 06:50:25 -07:00
Daniel Pono Takamori
aa2219fc09
temporarily(?) remove FAQs, Recommended Resources
2021-10-19 06:47:58 -07:00
1bf3877244
Link up news breadcrumbs.
2021-10-19 06:47:58 -07:00
eeba7a3154
Add breadcrumb examples and expading FAQ sections.
2021-10-19 06:47:58 -07:00
Brett Smith
703df9c8e9
Blogs/news only include a single OG image/video.
...
For now, this gives us more assurance that other sites will choose the
preview we want.
You can control the selection by adding data-ogpreview to image, video, and
source elements. data-ogpreview=0 excludes the element from being included
in the preview. Positive numbers set the preview priority. The lowest
value found is chosen first.
2018-09-21 10:57:14 -04:00
Brett Smith
3b2ed8397d
blog/news: Add Open Graph metadata to entry pages.
...
This helps other social media sites generate nice previews for these pages.
2017-11-07 11:17:33 -05:00
Brett Smith
d5f461d879
news: Refactor press release rendering into a partial.
...
Same rationale as a few commits ago for blog entries.
2016-12-30 23:12:09 -05:00
Brett Smith
7f5f98e5db
news: Render HTML entities in press release titles.
...
Same rationale as for blogs a few commits ago.
2016-12-30 23:12:09 -05:00
Brett Smith
6dcb9d35e3
blogs, news: Don't shade entries on listing pages.
...
This just causes entire pages to be shaded, which is undesirable.
2016-11-17 09:45:03 -05:00
Bradley M. Kuhn
9c090f2c27
Correct navigation links.
...
Earlier commit incorrectly implemented navigation link suppression when
only one page present, such that this was never shown. This is now
corrected herein.
2015-03-04 15:36:25 -08:00
Bradley M. Kuhn
9d654d08ee
Restore navigation links.
...
Previous commit incorrectly implemented solution for avoiding showing
nav links. This corrects that.
2015-03-04 15:35:16 -08:00
Bradley M. Kuhn
f7425dc802
Only display paginator if multiple pages.
2015-03-04 15:28:44 -08:00
Bradley M. Kuhn
8eda325777
Pagination should float to the center, I think
2015-03-04 15:10:01 -08:00
Bradley M. Kuhn
c9d97e8f0f
Year should be listed, not first day of Jan.
2015-03-04 14:39:35 -08:00
Bradley M. Kuhn
20e258e000
Minor formatting change.
2015-03-04 13:04:44 -08:00
Bradley M. Kuhn
b7e31128a0
Improve pagination links and text in template.
...
This should correct various issues with pagination in the press
releases.
2015-03-04 12:48:54 -08:00
Bradley M. Kuhn
888d6c3589
Don't just call this "object", say what it is.
2015-03-04 12:23:22 -08:00
Bradley M. Kuhn
5c7710954b
Attempt to use Django 1.7 Paginator object.
...
Upon reading
https://docs.djangoproject.com/en/1.7/topics/pagination/#using-paginator-in-a-view
I wonder if we should simply follow this model for pagination of news
items. I've attempted to adapt that herein. This is a first attempt
and likely will have issues.
2015-03-04 12:08:39 -08:00
Martin Michlmayr
c0bf257532
Close mainContent <div> element
2014-04-17 19:07:13 -04:00
Martin Michlmayr
d7ace48349
Use Conservancy instead of SFC for consistency
2014-04-17 12:54:08 -04:00
Martin Michlmayr
7ccc53805a
Fix various HTML syntax errors
2013-02-21 21:46:40 +00:00
Bradley M. Kuhn
ff42a3b85d
News category setting comes from template we inherit from.
2010-10-11 16:09:46 -04:00
Bradley M. Kuhn
28e3f83841
Got Blog working; Fixed feeds added content to front page; switch blog template style.
2010-10-04 12:15:53 -04:00
Bradley M. Kuhn
a6f8800a3f
Improved year look.
2010-10-04 09:47:51 -04:00
Bradley M. Kuhn
d2af6a0cb5
Rework of about section, including many content changes and a few
...
formatting ones.
2010-10-03 19:07:48 -04:00
Bradley M. Kuhn
12780197e5
Adapted Django application stuff for Conservancy; and normalized to string
...
"conservancy" within code and templates.
2010-09-26 17:56:29 -04:00
Bradley M. Kuhn
c858e825c0
Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved
2010-09-26 17:20:05 -04:00