Skip to content

Commit

Permalink
Merge branch 'statiqdev:main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
TechWatching authored Jan 2, 2024
2 parents dd8be0b + ad63989 commit 65fe1d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Statiq themes go in a `theme` folder alongside your `input` folder. If your site
git submodule add https://github.com/statiqdev/CleanBlog.git theme
```

Alternatively you can clone the theme directly:
Alternatively, you can clone the theme directly:

```shell
git clone https://github.com/statiqdev/CleanBlog.git theme
Expand Down Expand Up @@ -159,6 +159,8 @@ These can be set in a settings file (in addition to any of Statiq's [settings](h
- `PostSources`: A globbing pattern where to find blog posts (defaults to `posts/**/*`).
- `PageSources`: A globbing pattern where to find static pages (defaults to `pages/**/*`).

It's also highly recommended to set `Host` and `LinksUseHttps` to match your hosting environment. This ensures that the RSS feeds and other artifacts that rely on absolute hosting information are correctly generated.

### Page

These can be set in front matter, a sidecar file, etc. (in addition to any of Statiq's [settings](https://statiq.dev/guide/configuration/settings) and [web settings](https://statiq.dev/guide/configuration/web-settings)).
Expand Down
2 changes: 1 addition & 1 deletion input/_navigation.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
<li class="nav-item">
<span class="nav-link">
<form class="form-inline my-2 my-lg-0" action="/search" method="GET">
<form class="form-inline my-2 my-lg-0" action="@Context.GetLink("/search")" method="GET">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" name="query">
<input type="submit" hidden />
</form>
Expand Down

0 comments on commit 65fe1d6

Please sign in to comment.