Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
Added LDAP escaping note and RSS feed & email updates link
Browse files Browse the repository at this point in the history
For #46
For #47
  • Loading branch information
ssddanbrown committed Jan 24, 2021
1 parent 5c88d57 commit 8238edc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 2 additions & 0 deletions content/docs/admin/ldap-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ LDAP_PASS=false

# A filter to use when searching for users
# The user-provided user-name used to replace any occurrences of '${user}'
# If you're setting this option via other means, such as within a docker-compose.yml,
# you may need escape the $, often using $$ or \$ instead.
LDAP_USER_FILTER=(&(uid=${user}))

# Set the LDAP version to use when connecting to the server
Expand Down
1 change: 1 addition & 0 deletions themes/bookstack/layouts/partials/icon/email.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion themes/bookstack/layouts/section/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ <h1>BookStack Blog</h1>
<div class="container">
<div class="row">

<div class="col-sm-6 col-sm-offset-3">

<div class="col-sm-6 col-sm-offset-3 padded-top">

<div class="margin-top large text-left">
<a href="{{.Site.BaseURL}}blog/index.xml" target="_blank"><span class="icon" aria-hidden="true">{{partial "icon/rss_feed.svg"}}</span>RSS Feed</a>
<span class="inline block margins-horizontal muted">|</span>
<a href="https://updates.bookstackapp.com/signup/bookstack-news-and-updates" target="_blank"><span class="icon" aria-hidden="true">{{partial "icon/email.svg"}}</span>Email Updates</a>
</div>

{{ $paginator := .Paginator }}

Expand Down
6 changes: 3 additions & 3 deletions themes/bookstack/sass/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,15 @@ ol {
}

.text-center {
text-align: center;
text-align: center !important;
}

.text-left {
text-align: left;
text-align: left !important;
}

.text-right {
text-align: right;
text-align: right !important;
}

/**
Expand Down

0 comments on commit 8238edc

Please sign in to comment.