Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions frontend/public/hosts/talafmt/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1

User-agent: Googlebot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Disallow: /

User-agent: Perplexity-User
Disallow: /

User-agent: Bytespider
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: meta-externalagent
Disallow: /

User-agent: meta-externalfetcher
Disallow: /

User-agent: FacebookBot
Disallow: /

User-agent: DuckAssistBot
Allow: /

User-agent: Amazonbot
Disallow: /

User-agent: Google-CloudVertexBot
Disallow: /

User-agent: MistralAI-User
Disallow: /

User-agent: *
Allow: /

Sitemap: https://talafmt.tala.run/sitemap.xml
20 changes: 20 additions & 0 deletions frontend/public/hosts/talafmt/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> -->
<!-- SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://talafmt.tala.run/</loc>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://talafmt.tala.run/docs/command-line</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://talafmt.tala.run/docs/layout</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
64 changes: 64 additions & 0 deletions frontend/public/hosts/talalint/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1

User-agent: Googlebot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Disallow: /

User-agent: Perplexity-User
Disallow: /

User-agent: Bytespider
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: meta-externalagent
Disallow: /

User-agent: meta-externalfetcher
Disallow: /

User-agent: FacebookBot
Disallow: /

User-agent: DuckAssistBot
Allow: /

User-agent: Amazonbot
Disallow: /

User-agent: Google-CloudVertexBot
Disallow: /

User-agent: MistralAI-User
Disallow: /

User-agent: *
Allow: /

Sitemap: https://talalint.tala.run/sitemap.xml
20 changes: 20 additions & 0 deletions frontend/public/hosts/talalint/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> -->
<!-- SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://talalint.tala.run/</loc>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://talalint.tala.run/docs/command-line</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://talalint.tala.run/docs/checks</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
10 changes: 5 additions & 5 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { RouterLink, RouterView } from "vue-router";
import { localeLabels } from "./locales";
import { locale, supportedLocales, theme } from "./preferences";
import { contentRoutes } from "./content/routes";
import { forumUrl, site, siteHome, siteTopics, siteUrl, type Site } from "./site";
import { forumUrl, site, siteBrand, siteHome, sites, siteTopics, siteUrl, type Site } from "./site";

const labels = {
"en-US": {
Expand Down Expand Up @@ -62,12 +62,12 @@ const labels = {
const copy = computed(() => labels[locale.value]);

const hostname = window.location.hostname;
const brand = { language: "Tala", talac: "Talac", tazel: "Tazel" }[site];
// The other two sites are linked by their names, which read the same in every language.
const siblings = (["language", "talac", "tazel"] as const)
const brand = siteBrand[site];
// The other sites are linked by their names, which read the same in every language.
const siblings = sites
.filter((other): other is Site => other !== site)
.map((other) => ({
label: { language: "Tala", talac: "Talac", tazel: "Tazel" }[other],
label: siteBrand[other],
href: siteUrl(other, siteHome[other], hostname),
}));

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/DocShell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { computed, nextTick, onMounted, ref, watch } from "vue";
import { RouterLink } from "vue-router";
import { sidebarFor } from "../content/routes";
import { locale } from "../preferences";
import { site } from "../site";
import { site, siteBrand } from "../site";

/**
* The frame of every documentation page: the topics of the site on the left, the page in a readable column, the
Expand Down Expand Up @@ -50,7 +50,7 @@ const labels = {
},
} as const;
const copy = computed(() => labels[locale.value]);
const brand = { language: "Tala", talac: "Talac", tazel: "Tazel" }[site];
const brand = siteBrand[site];

const sidebar = computed(() => sidebarFor(site, locale.value));
const position = computed(() => sidebar.value.findIndex((entry) => entry.path === props.path));
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/content/landing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

import type { Locale } from "../locales";
import type { Site } from "../site";
import { talafmtLanding } from "./talafmt.ts";
import { talalintLanding } from "./talalint.ts";

/** One tab of a "Why" section: a strength, a sentence about it and a sample that shows it. */
export type WhyTab = { label: string; caption: string; file: string; code: string };
Expand Down Expand Up @@ -750,4 +752,6 @@ export const landing: Record<Site, Record<Locale, LandingText>> = {
copied: "הועתק",
},
},
talafmt: talafmtLanding,
talalint: talalintLanding,
};
4 changes: 4 additions & 0 deletions frontend/src/content/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import type { Locale } from "../locales";
import { siteTopics, type Site } from "../site.ts";
import { syntaxRoutes } from "./syntax.ts";
import { talacRoutes } from "./talac.ts";
import { talafmtRoutes } from "./talafmt.ts";
import { talalintRoutes } from "./talalint.ts";
import { tazelRoutes } from "./tazel.ts";
import type { DocRoute } from "./types";

Expand All @@ -13,6 +15,8 @@ export const contentRoutes: Record<Site, readonly DocRoute[]> = {
language: syntaxRoutes,
talac: talacRoutes,
tazel: tazelRoutes,
talafmt: talafmtRoutes,
talalint: talalintRoutes,
};

// The two hand-built pages of the language site name themselves in their own components; the sidebar of a content
Expand Down
Loading
Loading