Skip to content

django template to use static #2

Description

@stonezhong

Now we are using hard coded path like below

<link rel="shortcut icon" href="/static/images/logo.png">

We should use static macro, e.g.

{% load static %}

<link rel="shortcut icon" href="{%  static 'images/favicon.ico' %}">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions