A CLI for publishing standard.site documents to ATProto sequoia.pub

Instructions for Hugo manual document verification are incomplete #52

Closed frankhecker.com
Closed opened by frankhecker.com

The instructions at https://sequoia.pub/verifying#document-verification currently suggest the following Hugo code to add to the ./layout/_partials/head.html file to manually verify a document based on the atUri value in the post's front matter:

{{ if .Params.atUri }} <link rel="site.standard.document" href="{{ .Params.atUri }}" /> {{ end }}

This code is apparently not sufficient. I found that Hugo will strip the at://... value when generating the post's HTML. The solution is to modify the <link rel=...> line to tell Hugo that these URLs are safe to include:

<link rel="site.standard.document" href="{{ .Params.atUri | safeURL }}" />

I did this for my site https://frankhecker.com/ and it looks as if this correctly includes the at://... URL in the section.

P.S. In case it's relevant, my Hugo version string is "hugo v0.163.3+extended+withdeploy darwin/arm64 BuildDate=2026-06-18T16:18:24Z VendorInfo=Homebrew"

P.P.S. Thanks for developing Sequoia! Except for the above issue everything worked like a charm, and using pdsls it looks as if my site is correctly published to my repo.

Hey there! Thanks for the heads up on this. We can definitely update the docs on this.

Completed in !89; thanks all!

Sign up or Sign in to add to the discussion.