Git Product home page Git Product logo

Comments (1)

SamuelmdLow avatar SamuelmdLow commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.