Comments (1)
This template does not work because it tries to use the reverse url function to get to the landing pages. But wagtail does not automatically set url pattern names for the page. To fix this we can hardcode the urls in ubyssey.ca/ubyssey/templates/guide/2020/header.html
There are some styling changes to make as well such as the images being commented out in ubyssey.ca/article/templates/article/objects/guide/article-box2022.html
. The images are supposed to be used in guide 2020 but aren't in guide 2022 which also uses this block. We can get both to work as intended by making style="background-image: url('{{ image }}');"
conditional to image being in the context ({% if image %},
and then going to ubyssey.ca/article/templates/article/article_page_guide_2022.html
and remove image=prev_image.url
and image=next_image.url
from the context
The social media link styling is also off. You can look at ubyssey.ca/article/templates/article/objects/share_bar.html
to see working link styling
from ubyssey.ca.
Related Issues (20)
- Make sure Ads don't go after very short p element HOT 1
- Use prefers-color-scheme for darkmode HOT 1
- Give option for quote block to go left and right like image block HOT 2
- Make image tags useful HOT 3
- Figure out how to order by explicit_published_at on home page without slowing down the query HOT 1
- Click to enlarge imageblock images HOT 1
- Be able to see articles by tag
- Search is not good on the section pages
- Be able to link to a tag and its rss feed at the end of an article HOT 1
- Abstract article list class and midsection streamfield on homepage
- Template selector for sidebar blocks
- The modal stuff I set up is bad for accessibility instead of good HOT 2
- Migrate dispatch video block
- show_last_modified field in articlepage doesn't do anything
- Automated test database
- Improve performance
- Make images more searchable by adding tags and descriptions to past images using OpenAI's Vision HOT 2
- Events Sidebar
- Add end to end test automation HOT 1
- Add 'show organization role' to authors string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubyssey.ca.