revert(seo): drop the dist/blog origin rebase

Per maintainer review: the blog is BentoPDF's own content, so self-hosted
builds keep its canonicals on www.bentopdf.com.
This commit is contained in:
David Cumps committed 2026-10-23 13:54:39 +00:00
1 parent 2b56c45177
commit cd59d087d3
4 files changed
+6 -106

No files matched your search

+1 -2
View File
@@ -3,14 +3,13 @@ import path from 'path';
import { marked } from 'marked';
import { fileURLToPath } from 'url';
import { serializeJsonLd } from './json-ld.mjs';
import { DEFAULT_SITE_URL } from './site-origin.mjs';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const POSTS_DIR = path.resolve(__dirname, '../blog/posts');
const BLOG_DIR = path.resolve(__dirname, '../blog');
const SITE_URL = (process.env.SITE_URL || DEFAULT_SITE_URL).replace(/\/+$/, '');
const SITE_URL = 'https://www.bentopdf.com';
const AUTHOR = {
name: 'Alam',
url: `${SITE_URL}/blog/author-alam`,