Skip to content

Instantly share code, notes, and snippets.

@wsvincent
Created July 9, 2020 18:49
Show Gist options
  • Save wsvincent/6b2a8f1d53a17c2f33d300bcb076e964 to your computer and use it in GitHub Desktop.
Save wsvincent/6b2a8f1d53a17c2f33d300bcb076e964 to your computer and use it in GitHub Desktop.
LearnDjango.com OG stuff
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}LearnDjango{% endblock title %} | LearnDjango.com</title>
<meta name="author" content="Learn Django">
<meta name="description" content="{% block description %}Tutorials and courses on web development with Python and the Django Web Framework. {% endblock description %}">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,
shrink-to-fit=no">
<!-- Icons -->
<script src="https://use.fontawesome.com/04059433fd.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="{% static 'css/compatibility.css' %}">
<link rel="stylesheet" href="{% static 'css/base.css' %}">
<!-- OpenGraph -->
<meta property="og:title" content="{% block title %}LearnDjango{% endblock title %} | LearnDjango.com" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ request.build_absolute_uri }}" />
<meta property="og:image" content="{% static 'images/social-default-image.png' %}" />
<meta property="og:description" content="{% block description %}Tutorials and courses on web development with Python and the Django Web Framework. {% endblock description %}">
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment