Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mkdocs-template/custom_theme/main.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (27 sloc)
1.15 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block extrahead %} | |
<!--- EXTRA HEAD INFORMATIUON CUSTOM TEMPLATE --> | |
{% set title = config.site_name %} | |
{% if page and page.meta and page.meta.title %} | |
{% set title = title ~ " - " ~ page.meta.title %} | |
{% elif page and page.title and not page.is_homepage %} | |
{% set title = title ~ " - " ~ page.title | striptags %} | |
{% endif %} | |
{% if page and page.meta and page.meta.description %} | |
{% set description = page.meta.description %} | |
{% endif %} | |
<meta name="robots" content="noindex, nofollow, none" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:title" content="{{ title }}" /> | |
{#<meta property="og:description" content="{{ config.site_description }} /> #} | |
{% if description %} | |
<meta property="og:description" content="{{ description }}" /> | |
{% endif %} | |
<meta property="og:url" content="{{ page.canonical_url }}" /> | |
{# | |
<meta property="og:image" content="https://github.coventry.ac.uk/pages/aa9863/5067CEM/1_HTTP/images/HTTP_Request.png" /> | |
<meta property="og:image:type" content="image/png" /> | |
<meta property="og:image:width" content="1200" /> | |
<meta property="og:image:height" content="630" /> | |
#} | |
{% endblock %} |