Skip to content

Commit 645685b

Browse files
committed
Better description
1 parent 9cd812b commit 645685b

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,13 @@ To get better results when for example shared via LinkedIn some of the `<meta pr
167167

168168
The following tags are set depending on the page:
169169

170-
| Open Graph Tag | Index | Display Blog Post |
171-
| -------------- | --------------------------------------------------------- | -------------------------------------------- |
172-
| og:title | Title of the blog (defined in Introduction) | Title of the Blog Post |
173-
| og:url | Url to the index page | Url of the page |
174-
| og:image | Profile image (defined in Introduction) | Yes |
175-
| og:type | article | article |
176-
| og:description | Short description in plain text (defined in Introduction) | Short Description of Blog Post in plain text |
170+
| Open Graph Tag | Index | Display Blog Post |
171+
| -------------- | --------------------------------------------------------- |-----------------------------------------------------------------------------|
172+
| og:title | Title of the blog (defined in Introduction) | Title of the Blog Post |
173+
| og:url | Url to the index page | Url of the page |
174+
| og:image | Profile image (defined in Introduction) | Uses the preview image. If a fallback is defined this will be used instead. |
175+
| og:type | article | article |
176+
| og:description | Short description in plain text (defined in Introduction) | Short Description of Blog Post in plain text |
177177

178178
Furthermore the following tags are set:
179179

@@ -183,4 +183,4 @@ Furthermore the following tags are set:
183183
| &lt;meta name="keyword" content="" /&gt; | not set | Tags defined in the Blog Post |
184184

185185
## RSS Feed
186-
This blog also offers a RSS feed ([RSS 2.0 specification](https://validator.w3.org/feed/docs/rss2.html)), which can be consumed by your users or programs like feedly. Just append `feed.rss` to your url or click on the RSS feed icon in the navigation bar to get the feed. The RSS feed does not expose the whole content of a given blog post but it's title and short description including some other tags like preview image, publishing date and so on.
186+
This blog also offers a RSS feed ([RSS 2.0 specification](https://validator.w3.org/feed/docs/rss2.html)), which can be consumed by your users or programs like feedly. Just append `feed.rss` to your url or click on the RSS feed icon in the navigation bar to get the feed. The RSS feed does not expose the whole content of a given blog post but it's title and short description including some other tags like preview image, publishing date and so on.

src/LinkDotNet.Blog.Web/Features/Admin/BlogPostEditor/Components/CreateNewBlogPost.razor

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
<div class="mb-3">
3131
<label for="preview">Preview-Url</label>
3232
<InputText class="form-control" id="preview" @bind-Value="model.PreviewImageUrl"/>
33+
<small for="preview" class="form-text text-muted">The primary image which will be used.</small>
3334
</div>
3435
<div class="mb-3">
35-
<label for="preview">Fallback preview-Url</label>
36+
<label for="preview">Fallback Preview-Url</label>
3637
<InputText class="form-control" id="fallback-preview" @bind-Value="model.PreviewImageUrlFallback"/>
37-
<small for="allback-preview" class="form-text text-muted">Optional: Used as a fallback if the preview image can't be used by the browser.</small>
38+
<small for="fallback-preview" class="form-text text-muted">Optional: Used as a fallback if the preview image can't be used by the browser.
39+
<br>For example using a jpg or png as fallback for avif which is not supported in Safari or Edge.</small>
3840
</div>
3941
<div class="form-check">
4042
<InputCheckbox class="form-check-input" id="published" @bind-Value="model.IsPublished" />

0 commit comments

Comments
 (0)