Add favicon, social images and meta description

This commit is contained in:
Ben Sturmfels 2023-04-24 17:49:24 +10:00
parent 3a51efd597
commit 743a4f678a
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
4 changed files with 11 additions and 6 deletions

View file

@ -1,7 +1,10 @@
{% extends "site_base.html" %}
{% load i18n static %}
{% block head_title %}{% trans "Welcome" %}{% endblock %}
{% block meta_desc %}FOSSY (Free and Open Source Yearly) is a 4 day community-oriented conference focused on the creation and impact of free and open source software. Join us in Portland, OR - July 13-16th 2023 at the Oregon Convention Center.{% endblock %}
{% block og_desc %}FOSSY (Free and Open Source Yearly) is a 4 day community-oriented conference focused on the creation and impact of free and open source software. Join us in Portland, OR - July 13-16th 2023 at the Oregon Convention Center.{% endblock %}
{% block head_title %}FOSSY 2023: The first Free and Open Source Software Yearly conference{% endblock %}
{% block body_class %}home{% endblock %}

View file

@ -12,22 +12,24 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="description" content="{% block meta_desc %}{% endblock %}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ head_title }}</title>
<meta property="og:type" content="website" />
<link rel="icon" href="{% static 'img/favicon.ico' %}" />
<!-- Cards -->
<meta property="og:title" content="{{ head_title }}">
<meta property="og:description" content="FOSSY 2023 - July 13-16 2023, Portland, OR" />
<meta property="og:description" content="{% block og_desc %}{% endblock %}" />
<meta property="og:url" content="{{ request.scheme }}://{{ request.get_host }}{{ request.path }}">
<meta name="twitter:site" content="@_everythingopen">
<meta name="twitter:site" content="@conservancy">
<meta name="twitter:image:alt" content="{{ head_title }}" />
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}/media/img/card/eo-badge.ba30d338.png" />
<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}/media/img/card/eo-badge.ba30d338.png" />
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'img/conservancy_logo_tall_mono.png' %}" />
<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'img/conservancy_logo_tall_mono.png' %}" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="400" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
static/src/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB