Verified Commit b4ff861a authored by Chocobozzz's avatar Chocobozzz
Browse files

add framasoft logo plugin

parent b6a85478
# Framasoft logo on PeerTube
#custom-css .icon.icon-logo {
background: url('/plugins/logo-framasoft/0.0.1/static/images/framasoft-logo.png') no-repeat;
width: 25px;
margin-right: 5px;
}
function register ({ registerHook, peertubeHelpers }) {
const favicon = document.querySelector('link[rel="icon"]')
favicon.href = peertubeHelpers.getBaseStaticRoute() + '/images/framasoft-logo.png'
}
export {
register
}
async function register ({ registerHook, registerSetting, settingsManager, storageManager }) {
}
async function unregister () {
return
}
module.exports = {
register,
unregister
}
// ############################################################################
{
"name": "peertube-plugin-logo-framasoft",
"version": "0.0.1",
"description": "Framasoft logo on PeerTube.",
"engine": {
"peertube": ">=1.3.0"
},
"keywords": [
"peertube",
"plugin"
],
"homepage": "https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-plugin-logo-framasoft",
"author": "Chocobozzz",
"bugs": "https://framagit.org/framasoft/peertube/official-plugins/issues",
"library": "./main.js",
"staticDirs": {
"images": "public/images"
},
"css": [
"assets/logo.css"
],
"clientScripts": [
{
"script": "client/common-client-plugin.js",
"scopes": [ "common" ]
}
],
"translations": {}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment