- Content lists the company first, at /content/own: its products from the profile (always there to pick from), its own feeds (a new profile field for the blog, news and releases), and new or updated pages from its websites' sitemaps, with each page's title and description. - Drafts from it are kind "product" (utm_campaign=product), filed under the company's name, and prompted to promote the company's own work without unsupported claims; on Reddit, in the makers' voice, with a warning that self-promotion is often restricted. This completes Phase 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1.5 KiB
HTML
37 lines
1.5 KiB
HTML
{{define "content"}}{{with .Data}}
|
|
<nav class="tabs">
|
|
<a href="/content" aria-current="page">Sources</a>
|
|
<a href="/content/scheduled">Scheduled</a>
|
|
<a href="/content/published">Published</a>
|
|
</nav>
|
|
<h1>Content</h1>
|
|
<p class="lede">Pick an inventory entry to fetch its latest news, choose what to write about, and get a draft for each channel to review in the <a href="/inbox">Inbox</a>.</p>
|
|
|
|
{{if .Rows}}
|
|
<table class="list">
|
|
<thead><tr><th>Entry</th><th>Relationship</th><th>Sources</th><th>Waiting</th><th>Last fetched</th></tr></thead>
|
|
<tbody>
|
|
{{range .Rows}}
|
|
<tr>
|
|
{{if .Own}}
|
|
<td><a href="/content/own">{{.Name}}</a> <span class="muted small">your own work</span></td>
|
|
<td><span class="badge product">product</span></td>
|
|
<td>{{if .Sources}}{{join .Sources ", "}}{{else}}<span class="muted">none: add products, websites or feeds to your <a href="/profile">profile</a></span>{{end}}</td>
|
|
{{else}}
|
|
<td><a href="/content/{{.Entry.ID}}">{{.Name}}</a></td>
|
|
<td><span class="badge {{.Entry.Relationship}}">{{.Entry.Relationship}}</span></td>
|
|
<td>{{if .Sources}}{{join .Sources ", "}}{{else}}<span class="muted">none: <a href="/inventory/{{.Entry.ID}}">add some</a></span>{{end}}</td>
|
|
{{end}}
|
|
<td>{{if .Waiting}}{{.Waiting}}{{end}}</td>
|
|
<td>{{ago .LastChecked}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
{{else}}
|
|
<section class="card empty">
|
|
<p>Add the partners and competitors you post about to the <a href="/inventory">Inventory</a> first.</p>
|
|
</section>
|
|
{{end}}
|
|
{{end}}{{end}}
|