/@user and /@user/{id} are Razor pages showing an avatar's or community's
public and unlisted posts: no scripts, a strict CSP, no-referrer, noindex,
and an alternate link to the ActivityPub document. A client asking them
for activity+json is redirected to the actor or note, and the actor and
note redirect browsers here.
NodeInfo answers 2.1 as well as 2.0 (repository, homepage, a link to
FEDERATION.md) and counts only public local posts.
FEDERATION.md (FEP-67ff) lists the protocols, FEPs, route names,
activities and the security rules a peer will notice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
20 lines
505 B
Plaintext
20 lines
505 B
Plaintext
@model PrivaPub.Web.Pages.PostView
|
|
<article>
|
|
@if (!string.IsNullOrEmpty(Model.Title))
|
|
{
|
|
<h2>@Model.Title</h2>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Model.Warning))
|
|
{
|
|
<details>
|
|
<summary>@Model.Warning</summary>
|
|
@Html.Raw(Model.ContentHtml)
|
|
</details>
|
|
}
|
|
else
|
|
{
|
|
@Html.Raw(Model.ContentHtml)
|
|
}
|
|
<div class="meta"><a href="@Model.Url"><time datetime="@Model.Published.ToString("O")">@Model.Published.ToString("yyyy-MM-dd HH:mm") UTC</time></a>@(Model.Edited ? " · edited" : "")</div>
|
|
</article>
|