1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-09-14 09:35:04 +00:00

feat: restore ghost profile functionality for clean content extraction

- Restore Quarto ghost profiles in _quarto.yml for dual content rendering
- Restore ghost-iframe.css with clean styling for Ghost content
- Restore GitLab CI dual build: main site + ghost-content optimized version
- Restore extract_article_content() function in Rust for clean HTML extraction
- Update README to document the ghost profiles feature and how it works

This is the core feature of the MR: generating clean HTML content for Ghost
instead of using iframes by building a ghost-optimized version of the site.
This commit is contained in:
2025-08-22 11:20:06 -06:00
parent 9e2596c070
commit 21ad5cb862
5 changed files with 258 additions and 27 deletions

View File

@@ -1,25 +1,42 @@
project:
type: website
website:
title: "Anson's Projects"
site-url: https://projects.ansonbiggs.com
description: A Blog for Technical Topics
navbar:
left:
- text: "About"
href: about.html
right:
- icon: rss
href: index.xml
# - icon: gitlab
# href: https://gitlab.com/MisterBiggs
open-graph: true
format:
html:
theme: zephyr
css: styles.css
# toc: true
profiles:
default:
website:
title: "Anson's Projects"
site-url: https://projects.ansonbiggs.com
description: A Blog for Technical Topics
navbar:
left:
- text: "About"
href: about.html
right:
- icon: rss
href: index.xml
# - icon: gitlab
# href: https://gitlab.com/MisterBiggs
open-graph: true
format:
html:
theme: zephyr
css: styles.css
# toc: true
ghost:
website:
title: "Anson's Projects"
site-url: https://projects.ansonbiggs.com
description: A Blog for Technical Topics
navbar: false
open-graph: true
format:
html:
theme: none
css: ghost-iframe.css
toc: false
page-layout: article
title-block-banner: false
execute:
freeze: true