From 3b723ecfad7d7f64f02d2e496c97fb79b29c8b61 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Fri, 19 Dec 2025 22:27:59 -0800 Subject: [PATCH] feat: Add baseURL to config and configure robots.txt to allow all and specify sitemap. --- config.toml | 1 + layouts/robots.txt | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index af3c153..a155d46 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,5 @@ title = "Eric X. Liu's Personal Page" +baseURL = "https://ericxliu.me/" theme = ["hugo-cloak-email", "hugo-coder"] languageCode = "en" defaultcontentlanguage = "en" diff --git a/layouts/robots.txt b/layouts/robots.txt index 4f9540b..0ea0eca 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1 +1,4 @@ -User-agent: * \ No newline at end of file +User-agent: * +Allow: / + +Sitemap: https://ericxliu.me/sitemap.xml \ No newline at end of file