Social links

This commit is contained in:
Laszlo Fogas
2020-10-12 20:54:25 +02:00
parent e7d3782c0b
commit 2d7abcadf3
3 changed files with 31 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
# Project information # Project information
site_name: OneChart site_name: OneChart
site_url: https://onechart.dev site_url: https://onechart.dev/
site_author: Laszlo Fogas site_author: Laszlo Fogas
site_description: >- site_description: >-
One chart to rule them all. A generic Helm chart for your application deployments. Because no-one can remember the Kubernetes yaml syntax. One chart to rule them all. A generic Helm chart for your application deployments. Because no-one can remember the Kubernetes yaml syntax.
+28
View File
@@ -1,6 +1,34 @@
{% extends "main.html" %} {% extends "main.html" %}
{% block extrahead %} {% block extrahead %}
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<!-- Determine title -->
{% set title = config.site_name %}
{% if page and page.title and not page.is_homepage %}
{% set title = config.site_name ~ " - " ~ page.title | striptags %}
{% endif %}
<!-- The image needs to have an absolute URL -->
{% set image = config.site_url ~ 'assets/circle.svg' %}
<!-- Open graph meta tags -->
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ config.site_description }}" />
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property="og:image" content="{{ image }}" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1080" />
<meta property="og:image:height" content="568" />
<!-- Twitter meta tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@laszlocph" />
<meta name="twitter:creator" content="@laszlocph" />
<meta name="twitter:title" content="{{ title }}" />
<meta name="twitter:description" content="{{ config.site_description }}" />
<meta name="twitter:image" content="{{ image }}" />
{% endblock %} {% endblock %}
{% block htmltitle %} {% block htmltitle %}
+2 -3
View File
@@ -1,8 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
<!-- Custom front matter -->
{% block extrahead %} {% block extrahead %}
<!-- Determine title --> <!-- Determine title -->
{% set title = config.site_name %} {% set title = config.site_name %}
{% if page and page.title and not page.is_homepage %} {% if page and page.title and not page.is_homepage %}
@@ -10,7 +8,7 @@
{% endif %} {% endif %}
<!-- The image needs to have an absolute URL --> <!-- The image needs to have an absolute URL -->
{% set image = config.site_url ~ 'assets/logo.png' %} {% set image = config.site_url ~ 'assets/circle.svg' %}
<!-- Open graph meta tags --> <!-- Open graph meta tags -->
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
@@ -32,6 +30,7 @@
{% endblock %} {% endblock %}
{% block announce %} {% block announce %}
<a href="https://twitter.com/laszlocph"> <a href="https://twitter.com/laszlocph">
For updates follow <strong>@laszlocph</strong> on For updates follow <strong>@laszlocph</strong> on