Skip to content

Commit

Permalink
a little fix for static urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmegatelo committed Jul 20, 2024
1 parent 5a5fbc6 commit 3659812
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions feed/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
crossorigin="anonymous"></script>
{% load static %}
<link rel="stylesheet" href="{% static 'feed/styles/main.css' %}">
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'feed/favicon/apple-touch-icon.png' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'feed/favicon/favicon-32x32.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'feed/favicon/favicon-16x16.png' %}">
<link rel="manifest" href="{% static 'feed/site.webmanifest' %}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{% static 'feed/favicon/apple-touch-icon.png' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{% static 'feed/favicon/favicon-32x32.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{% static 'feed/favicon/favicon-16x16.png' %}">
<link rel="manifest" href="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{% static 'feed/site.webmanifest' %}">
{% if cover %}
<meta name="og:image" content="{% static cover %}">
<meta name="twitter:image" content="{% static cover %}">
<meta name="og:image" content="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{% static cover %}">
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{% static cover %}">
{% endif %}
{% if not debug %}
<!-- Google tag (gtag.js) -->
Expand Down

0 comments on commit 3659812

Please sign in to comment.