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

[WIP] Add meta descriptions to pages #221

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions sni/templates/404.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- extend base layout -->
{% extends "base.html" %}
{% block description %}The page you're trying to reach does not exist.{% endblock %}

{% block content %}
<div class="container">
Expand Down
1 change: 1 addition & 0 deletions sni/templates/500.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- extend base layout -->
{% extends "base.html" %}
{% block description %}An internal server error has occurred.{% endblock %}

{% block content %}
<div class="container">
Expand Down
1 change: 1 addition & 0 deletions sni/templates/about.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- extend base layout -->
{% extends "base.html" %}
{% block description %}The Satoshi Nakamoto Institute is eager to share with the world the best ideas past, present, and future in cryptography, distributed networks, economic freedom, and freedom of information. We are dedicated to curating the best primary source literature that challenge the status quo through technological innovation.{% endblock %}

{% block title %}
About | Satoshi Nakamoto Institute
Expand Down
1 change: 1 addition & 0 deletions sni/templates/authors.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- extend base layout -->
{% extends "base.html" %}
{% block description %}Authors at the Satoshi Nakamoto Institute.{% endblock %}

{% block title %}
Authors | Satoshi Nakamoto Institute
Expand Down
1 change: 1 addition & 0 deletions sni/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="{% block description %}{% endblock %}">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% block title %}Satoshi Nakamoto Institute{% endblock %}</title>
<link href="{{ url_for('static', filename = 'css/bootstrap.min.css') }}" rel="stylesheet" media="screen">
Expand Down
1 change: 1 addition & 0 deletions sni/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- extend base layout -->
{% extends "base.html" %}
{% block description %}I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party...{% endblock %}
{% block content %}

<div class="container">
Expand Down