https://github.com/rknightuk/micro-blog-lite-youtube
A micro.blog plugin to append a lite-youtube embed at the end of any post that includes a YouTube link
https://github.com/rknightuk/micro-blog-lite-youtube
Last synced: 3 months ago
JSON representation
A micro.blog plugin to append a lite-youtube embed at the end of any post that includes a YouTube link
- Host: GitHub
- URL: https://github.com/rknightuk/micro-blog-lite-youtube
- Owner: rknightuk
- Created: 2022-12-06T19:57:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-06T22:08:13.000Z (over 2 years ago)
- Last Synced: 2025-02-03T22:08:34.290Z (5 months ago)
- Language: HTML
- Homepage: https://micro.blog/account/plugins/view/83
- Size: 445 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Lite YouTube for Micro.blog
This plugin appends a [lite-youtube](https://github.com/paulirish/lite-youtube-embed) embed at the end of any post that includes a YouTube link (it also works with multiple links in one post).
### Example
**Before**:

**After**:

## Installation
1. Find [Lite YouTube for Micro.blog](https://micro.blog/account/plugins/view/83) in the plug-in directory
2. Install to the site you want to install to and press install
3. Ta-da! It's installed### Configuration
1. Go to _plug-ins_ and pressing settings next to _Lite YouTube for Micro.blog_
2. Set the class name on the element for the posts on your blog
3. Click _Update Settings_If your theme already includes the code below in the `head.html` file then everything should just work. If not, you can include the partial manually by adding the following to your `head.html` file under `Design > Edit Custom Themes > Your Theme`:
```
{{ partial "lite-youtube.html" . }}
```