Skip to content

Commit 7247714

Browse files
committed
Include social media meta tags
1 parent 3478c86 commit 7247714

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

content/blog/2024-12-19-early-preview-announcement.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
title = "Announcing Context-Generic Programming (Early Preview)"
44

5+
description = "Welcome everyone! This blog post marks the launch of the context-generic programming (CGP) project, to introduce a new modular programming paradigm for Rust."
6+
57
+++
68

79
# The Beginning of a New Paradigm

content/blog/2025-01-09-v0.3.0-release.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
title = "CGP Updates: v0.3.0 Release and New Chapters"
44

5+
description = "We’re excited to announce the release of v0.3.0 of the cgp crate, along with several new chapters of the CGP Patterns book!"
6+
57
+++
68

79
# Summary

content/blog/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title = "Blog"
44
template = "blog.html"
55
page_template = "blog_page.html"
66
insert_anchor_links = "heading"
7+
sort_by = "date"
78

89
+++
910

templates/blog_page.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{% import "_macros.html" as macros %}
22
{% extends "index.html" %}
33

4-
{% block title %}{{ page.title }} | {{ super() }} {% endblock title %}
5-
4+
{% block title %}{{ page.title }} | {{ super() }}{% endblock title %}
5+
{% block titlefb %}{{ page.title }} | {{ super() }}{% endblock titlefb %}
6+
{% block titletw %}{{ page.title }} | {{ super() }}{% endblock titletw %}
67

8+
{% block desctw %}{{ page.description }}{% endblock desctw %}
9+
{% block descfb %}{{ page.description }}{% endblock descfb %}
710

811
{% block header %}
912
<header class="box-shadow">

themes/juice/templates/index.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
<head>
66
<meta charset="UTF-8">
77
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
8-
<meta property="og:title" content="{{ config.title }}" />
9-
<meta name="twitter:title" content="{{ config.title }}">
8+
<meta property="og:title" content="{% block titlefb %}{{ config.title }}{% endblock titlefb %}" />
9+
<meta property="og:description" content="{% block descfb %}Context-Generic Programming: A new modular programming paradim for Rust{% endblock descfb %}">
10+
<meta property="og:image" content="https://contextgeneric.dev/greet-snippet.png">
11+
<meta name="twitter:title" content="{% block titletw %}{{ config.title }}{% endblock titletw %}">
12+
<meta name="twitter:description" content="{% block desctw %}Context-Generic Programming: A new modular programming paradim for Rust{% endblock desctw %}">
13+
<meta name="twitter:image" content="https://contextgeneric.dev/greet-snippet.png">
1014
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
1115
{% block favicon %}
1216
<link rel="icon" type="image/png" href="/favicon.ico">

0 commit comments

Comments
 (0)