Skip to content

Commit 38f59ba

Browse files
committed
Improve social preview handling
1 parent cb8b203 commit 38f59ba

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

src/main.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ async def api_docs(request: Request):
5757
"api.jinja", {"request": request}
5858
)
5959

60-
@app.get('/favicon.ico')
61-
async def favicon():
62-
return FileResponse('static/favicon.ico')
63-
6460
@app.get("/robots.txt")
6561
async def robots():
6662
return FileResponse('static/robots.txt')

src/static/apple-touch-icon.png

3.2 KB
Loading

src/static/favicon-64.png

1019 Bytes
Loading

src/static/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

src/templates/base.jinja

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,26 @@
99
<meta name="description" content="Replace 'hub' with 'ingest' in any Github Url for a prompt-friendly text">
1010
<meta name="keywords" content="GitIngest, AI tools, LLM integration, Ingest, Digest, Context, Prompt, Git workflow, codebase extraction, Git repository, Git automation, Summarize, prompt-friendly">
1111
<meta name="robots" content="index, follow">
12+
13+
<!-- Favicons -->
14+
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
15+
<link rel="icon" type="image/png" sizes="64x64" href="/static/favicon-64.png">
16+
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
17+
18+
<!-- Web App Meta -->
19+
<meta name="apple-mobile-web-app-title" content="GitIngest">
20+
<meta name="application-name" content="GitIngest">
21+
<meta name="theme-color" content="#FCA847">
22+
<meta name="apple-mobile-web-app-capable" content="yes">
23+
<meta name="apple-mobile-web-app-status-bar-style" content="default">
24+
1225

1326
<!-- OpenGraph Meta Tags -->
14-
<meta property="og:title" content="{% block og_title %}Git ingest{% endblock %}">
15-
<meta property="og:description" content="{% block og_description %}Replace 'hub' with 'ingest' in any Github Url for a prompt-friendly text{% endblock %}">
16-
<meta property="og:type" content="{% block og_type %}website{% endblock %}">
27+
<meta property="og:title" content="Git ingest">
28+
<meta property="og:description" content="Replace 'hub' with 'ingest' in any Github Url for a prompt-friendly text">
29+
<meta property="og:type" content="website">
1730
<meta property="og:url" content="{{ request.url }}">
18-
<meta property="og:image" content="{% block og_image %}/static/og-image.png{% endblock %}">
31+
<meta property="og:image" content="/static/og-image.png">
1932

2033
<title>{% block title %}Git ingest{% endblock %}</title>
2134

0 commit comments

Comments
 (0)