Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/Setup/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

The appsettings.json file has a lot of options to customize the content of the blog. The following table shows which values are used when.

Browser spellchecking uses the `<html lang="en">` value in
`src/LinkDotNet.Blog.Web/App.razor`. Change `en` to your blog's language so the browser selects the correct dictionary.

```json
{
"BlogName": "linkdotnet",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ValidationSummary />
<div class="mb-3">
<label for="title" class="form-label">Skill name</label>
<InputText class="form-control" id="title" @bind-Value="model.Skill" />
<InputText class="form-control" id="title" spellcheck="true" @bind-Value="model.Skill" />
</div>
<div class="mb-3">
<label for="image" class="form-label">Image Url</label>
Expand All @@ -17,7 +17,7 @@
</div>
<div class="mb-3">
<label for="capability" class="form-label">Capability</label>
<InputText class="form-control" id="capability" @bind-Value="model.Capability" />
<InputText class="form-control" id="capability" spellcheck="true" @bind-Value="model.Capability" />
</div>
<div class="mb-3">
<label for="proficiency" class="form-label">Proficiency</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<div class="card-body p-0">
<div class="p-4 border-bottom">
<div class="form-floating">
<input type="text" class="form-control form-control-lg shadow-none fs-3 fw-semibold" id="title" @oninput="args => model.Title = args.Value!.ToString()!"
<input type="text" class="form-control form-control-lg shadow-none fs-3 fw-semibold" id="title" spellcheck="true" @oninput="args => model.Title = args.Value!.ToString()!"
value="@model.Title"/>
<label for="title" class="fw-bold">Post Title</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@onfocus="HandleFocus"
@onkeydown="HandleKeyDownAsync"
@onblur="HandleBlurAsync"
placeholder="@Placeholder"
placeholder="@Placeholder" spellcheck="true"
autocomplete="off" />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<EditForm Model="@model" OnValidSubmit="SaveShortCode">
<div class="mb-3">
<label for="short-code-name" class="form-label">Name</label>
<InputText Id="short-code-name" class="form-control" @bind-Value="@model.Name" />
<InputText Id="short-code-name" class="form-control" spellcheck="true" @bind-Value="@model.Name" />
</div>
<div class="mb-3">
<label for="short-code-content" class="form-label">Shortcode Content</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="search-bar">
<input type="text" class="search-bar-input" placeholder="search" aria-label="search" @bind-value="searchTerm"
<input type="text" class="search-bar-input" placeholder="search" aria-label="search" spellcheck="true" @bind-value="searchTerm"
@onkeyup="@CheckForEnter" title="Search for blog post via title or tags"/>
<button class="search-bar-button" aria-label="search submit" @onclick="CallSearchEntered"><i class="search"></i></button>
</div>
Expand Down