fix(docs): opengraph meta fallbacks (#150)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 486 KiB |
@@ -1,3 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: takopi
|
||||||
|
---
|
||||||
|
|
||||||
# Takopi documentation
|
# Takopi documentation
|
||||||
|
|
||||||
Takopi runs coding agents on your computer and bridges them to Telegram. Send tasks from anywhere, watch progress stream live, pick up when back at the terminal. Scale from quick one-offs to multi-project workflows with topics and parallel worktrees.
|
Takopi runs coding agents on your computer and bridges them to Telegram. Send tasks from anywhere, watch progress stream live, pick up when back at the terminal. Scale from quick one-offs to multi-project workflows with topics and parallel worktrees.
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block htmltitle %}
|
||||||
|
{% if page and page.canonical_url and page.canonical_url == config.site_url %}
|
||||||
|
<title>{{ config.site_name }}</title>
|
||||||
|
{% else %}
|
||||||
|
{{ super() }}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extrahead %}
|
||||||
|
{{ super() }}
|
||||||
|
{% if page and page.canonical_url and page.canonical_url == config.site_url %}
|
||||||
|
{% set og_title = config.site_name %}
|
||||||
|
{% else %}
|
||||||
|
{% set og_title = page.title ~ " - " ~ config.site_name if page and page.title else config.site_name %}
|
||||||
|
{% endif %}
|
||||||
|
{% set og_desc = config.site_description %}
|
||||||
|
{% set og_url = page.canonical_url if page and page.canonical_url else config.site_url %}
|
||||||
|
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content="{{ config.site_name }}">
|
||||||
|
<meta property="og:title" content="{{ og_title }}">
|
||||||
|
<meta property="og:description" content="{{ og_desc }}">
|
||||||
|
<meta property="og:url" content="{{ og_url }}">
|
||||||
|
<meta property="og:image" content="{{ config.site_url }}assets/og-image.jpg">
|
||||||
|
<meta property="og:image:width" content="1200">
|
||||||
|
<meta property="og:image:height" content="630">
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content="{{ og_title }}">
|
||||||
|
<meta name="twitter:description" content="{{ og_desc }}">
|
||||||
|
<meta name="twitter:image" content="{{ config.site_url }}assets/og-image.jpg">
|
||||||
|
{% endblock %}
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
[project]
|
[project]
|
||||||
site_name = "takopi"
|
site_name = "takopi"
|
||||||
site_description = "takopi - telegram bridge for coding agents"
|
site_description = "Run coding agents on your computer, control them via Telegram. Send tasks from anywhere, stream progress live, pick up where you left off at the terminal."
|
||||||
site_author = "banteg"
|
site_author = "banteg"
|
||||||
site_url = "https://takopi.banteg.xyz/"
|
site_url = "https://takopi.dev/"
|
||||||
repo_url = "https://github.com/banteg/takopi"
|
repo_url = "https://github.com/banteg/takopi"
|
||||||
repo_name = "banteg/takopi"
|
repo_name = "banteg/takopi"
|
||||||
edit_uri = "edit/master/docs/"
|
edit_uri = "edit/master/docs/"
|
||||||
|
|||||||
Reference in New Issue
Block a user