Added shortcode for peertube, test in v23.06 post
This commit is contained in:
parent bd75b88acf
commit ea7ea376a6
3 changed files with 10 additions and 1 deletions
| @ -23,7 +23,7 @@ while also providing a revamp to the image manager among many other fixes and im | |||
- **Guest User Account** - Previously custom roles could be given to the "Guest" user account but permissions for those roles would not fully apply. That's been changed in v23.06 so additional role permissions fully apply but, as a precaution to prevent unexpected additional | ||||
grant of permissions upon upgrade, any additional roles assigned to the "Guest" user will be removed upon update migration. If needed, simply re-assign any desired custom guest user roles after updating. | ||||
| ||||
{{<yt qaUN9GtHMVw>}} | ||||
{{<pt 69eAVo8iNHPYs4n4UTT3Nb>}} | ||||
| ||||
### Comment Threading | ||||
| ||||
| |
BIN static/images/pt/69eAVo8iNHPYs4n4UTT3Nb.webp (Stored with Git LFS) Normal file
BIN
static/images/pt/69eAVo8iNHPYs4n4UTT3Nb.webp (Stored with Git LFS) Normal file Binary file not shown.
6 themes/bookstack/layouts/shortcodes/pt.html Normal file
6
themes/bookstack/layouts/shortcodes/pt.html Normal file | @ -0,0 +1,6 @@ | |||
{{ $vidId := .Get 0 }} | ||||
<div class="youtube-embed-wrap"> | ||||
<a href="https://foss.video/w/{{ $vidId }}" target="_blank" title="View Video" rel="noreferrer noopener"> | ||||
<img src="/images/pt/{{ $vidId }}.webp" alt="Video Thumbnail"> | ||||
</a> | ||||
</div> |
Loading…
Add table
Add a link
Reference in a new issue