Remove Kontent.ai dependency, migrate content to markdown#26
Merged
Conversation
- Replace all Kontent.ai generated models with simple POCOs - Rewrite all 8 pipelines to read from local markdown files with YAML frontmatter - Add 18 post markdown files and 3 page markdown files to input/ - Add author and site metadata YAML data files - Remove Kontent.Statiq NuGet package and user secrets configuration - Remove Kontent smart link scripts, data-kontent-* attributes from templates - Delete generated model files, CustomTypeProvider, CustomContentLinkUrlResolver - Update Program.cs, appsettings.json, and .csproj accordingly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Rename Index.cshtml -> _Index.cshtml, Post.cshtml -> _Post.cshtml to prevent built-in Content pipeline from rendering them as pages - Add _directory.yaml with Excluded: true to input/posts/ and input/pages/ so Statiq's Content pipeline skips markdown files handled by custom pipelines - Remove deleted display templates (DateTime, IInlineImage, IRichTextContent) - Fix PublishDate formatting to use .ToString() directly instead of DisplayFor Site now generates cleanly with 108 files, 0 errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…places it MergeContent swaps the document content with the Razor template, so GetContentStringAsync() in the model builder returned Razor source instead of the rendered markdown. Store the HTML in RenderedBody metadata after RenderMarkdown, then read it from there when building the Page model. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Projects page had placeholder text with missing links — restored all 8 project entries with their original GitHub/Gist URLs from Kontent. About me page updated with original biographical text and links. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Statiq.Web pulls in several packages with known vulnerabilities. Added explicit version overrides to resolve all NU190x warnings: - Azure.Identity 1.19.0 - Microsoft.Build.Tasks.Core 18.4.0 - Microsoft.Data.SqlClient 6.1.4 - Microsoft.IdentityModel.JsonWebTokens / System.IdentityModel.Tokens.Jwt 8.16.0 - Microsoft.Rest.ClientRuntime 2.3.24 (capped at <3.0.0 for Azure.Search compat) - Newtonsoft.Json 13.0.4 - System.Data.SqlClient 4.9.1 - System.DirectoryServices.Protocols / System.Drawing.Common / System.Security.Cryptography.Xml 10.0.5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove meet-petr-svihlik.md: devrel.net redirects to developerrelations.com but the page is 404 - Update dev.to code coverage article URL: org renamed from kentico-kontent to kontent_ai Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.mdfiles and 3 page.mdfiles toinput/input/_data/author.yamlandinput/_data/site.yamlfor site/author metadataKontent.StatiqNuGet package, user secrets config, andDeliveryOptionsfrom appsettingsdata-kontent-*attributes from Razor templatesrepository_dispatchtrigger dependency for content rebuilds (no longer needed)Test plan
dotnet buildpasses (verified locally)dotnet rungenerates static output in/output🤖 Generated with Claude Code