8000 Remove Powered by microfeed credit from default theme footer by kiran-brahma · Pull Request #1 · kiran-brahma/microfeed · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
< 8000 /details-toggle>
2 changes: 1 addition & 1 deletion themes/default/microfeed-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"formatVersion": 2,
"packageId": "microfeed.default",
"name": "microfeed default",
"version": "1.1.7",
"version": "1.1.8",
"author": "microfeed",
"license": "AGPL-3.0",
"description": "The familiar microfeed design with a footer that stays at the bottom on short pages.",
Expand Down
4 changes: 0 additions & 4 deletions themes/default/src/templates/web-body-end.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@
© {{_microfeed.publisher}}
{{/_microfeed.copyright}}
</div>
<div>
Powered by <a href="https://www.microfeed.org/" class="text-black">microfeed</a>
(a <a class="text-black" href="https://www.listennotes.com/">Listen Notes</a> project)
</div>
</footer>
4 changes: 0 additions & 4 deletions themes/default/web-body-end.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
© {{_microfeed.publisher}}
{{/_microfeed.copyright}}
</div>
<div>
Powered by <a href="https://www.microfeed.org/" class="text-black">microfeed</a>
(a <a class="text-black" href="https://www.listennotes.com/">Listen Notes</a> project)
</div>
</footer>

<script>(function(){function e(){if(!(`IntersectionObserver`in window))return;let e=new IntersectionObserver(t=>{for(let n of t){if(!n.isIntersecting||!(n.target instanceof HTMLImageElement))continue;let t=n.target,r=t.dataset.src;if(!r)continue;let i=document.createElement(`img`);i.src=r,i.alt=t.alt,i. e=document.createElement(`a`);e.href=r,e.target=`_blank`,e.rel=`noopener`,e.append(i),t.replaceWith(e)},e.unobserve(t)}});document.querySelectorAll(`img:not([loading="lazy"])`).forEach(t=>{t.dataset.src=t.src,t.classList.add(`loader`),t.src=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP88eNnPQAJQwNqJHSUZQAAAABJRU5ErkJggg==`,e.observe(t)})}function t(){for(let e of document.querySelectorAll(`[data-microfeed-site-nav]`)){let t=Array.from(e.querySelectorAll(`[data-microfeed-nav-item]`));if(t.length<=2)continue;let n=e.querySelector(`[data-microfeed-nav-overflow]`),r=n?.querySelector(`[data-microfeed-nav-overflow-menu]`),i=n?.querySelector(`summary`);if(!n||!r||!i)continue;for(let e of t.slice(2))r.append(e);n.hidden=!1;let a=()=>{i.setAttribute(`aria-expanded`,String(n.open))};n.addEventListener(`toggle`,a),r.addEventListener(`click`,()=>{n.open=!1}),document.addEventListener(`pointerdown`,e=>{e.target instanceof Node&&!n.contains(e.target)&&(n.open=!1)}),document.addEventListener(`keydown`,e=>{e.key===`Escape`&&(n.open=!1)}),a()}}function n(){e(),t()}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,n,{once:!0}):n()})();</script>
Loading
0