Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGraph metadata #32

Merged
merged 1 commit into from
Mar 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added static/logos/logo_discord.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 25 additions & 18 deletions templates/main/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,37 @@
<html lang="en">
<head>
{% block head %}
<title>Python | {% block title %}{% endblock %}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="stylesheet" href="/static/uikit_blurple.css" />
<link rel="stylesheet" href="/static/style.css" />
<title>Python | {% block title %}{% endblock %}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="stylesheet" href="/static/uikit_blurple.css"/>
<link rel="stylesheet" href="/static/style.css"/>

<!-- OpenGraph metadata -->
<meta property="og:title" content="Python Discord">
<meta property="og:description" content="We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.">
<meta content="/static/logos/logo_discord.png" property="og:image">


{% endblock %}
</head>
<body class="page-{{ current_page }}">
{% include "main/navigation.html" %}
{% if current_page != "index"%}
{% if current_page != "index" %}
{% block beta_error %}
<div class="uk-container uk-section" style="padding-top: 10px; padding-bottom: 10px;">
<div class="uk-container uk-container-small">
<div class="uk-alert-danger" uk-alert>
<p>
Please note: this site is under construction. What you see now may be vastly different
from the final project state. Feel free to chat to us on Discord if you're curious!
</p>
<div class="uk-container uk-section" style="padding-top: 10px; padding-bottom: 10px;">
<div class="uk-container uk-container-small">
<div class="uk-alert-danger" uk-alert>
<p>
Please note: this site is under construction. What you see now may be vastly different
from the final project state. Feel free to chat to us on Discord if you're curious!
</p>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% endif %}
{% block content %}{% endblock %}
Expand Down