てがろぐ用スキン「Tan+」を作った

にししふぁくとりー様にて配布されている、お手軽マイクロブログCGI「てがろぐ」用のスキンを作成した。

短文を無心で投稿していく向きかな。

てがろぐ ver4.1.4β でローカルで動いてる。

リポジトリ

まだ開発中なところがあるのでdevelopブランチにあります。

📄使い方

tegalog.cgiと同じ階層にdistディレクトリの中身をアップロード。 てがろぐ側で設定からスキンのディレクトリを指定する。

root/
 ├ tegalog.cgi
 ├ dist/
 │ ├ assets/
 │ │ ├ heroicon-sprite.[hash].svg
 │ │ ├ remixicon-sprite.[hash].svg
 │ │ ├ cover.[hash].js
 │ │ └ skin-cover.[hash].css
 │ ├ skin-cover.html
 │ └ skin-onelog.html


GLightbox のてがろぐ側での設定

画像表示には、Lightbox系ライブラリで軽量高機能でMITライセンスで使用できるGLightboxを使用しています。

「設定」→「ページの表示」タブ→「投稿本文の表示/画像」から、「画像リンクにLightbox系用の属性を付加(※7)」にdata-glightboxを設定。

このスキンではGlightboxのソースコードをバンドルするので、別途ライブラリを読み込む必要はありません。

GLightbox | A touchable pure Javascript lightbox

ライセンス

Copyright (c) 2023 htrkwn
Released under the MIT License
スキン使用報告等は不要です。

免責事項

このスキンを使用した上で被ったいかなる損害について、一切責任を負うものではございませんのであらかじめご了承ください。

Special Thanks

Alpine.js (under the MIT License)
Copyright © 2019-2021 Caleb Porzio and contributors
https://github.com/alpinejs/alpine/blob/main/LICENSE.md

daisyUI (under the MIT License)
Copyright (c) 2020 Pouya Saadeghi
https://github.com/saadeghi/daisyui/blob/master/LICENSE

GLightbox (under the MIT License)
Copyright (c) 2018 Biati Digital https://www.biati.digital
https://github.com/biati-digital/glightbox/blob/master/LICENSE.md

heroicons (under the MIT License)
Copyright (c) 2020 Refactoring UI Inc.
https://github.com/tailwindlabs/heroicons/blob/master/LICENSE

Remix Icon (under the Apache License Version 2.0.)
Copyright RemixIcon.com
https://github.com/Remix-Design/RemixIcon/blob/master/License

Tailwind CSS (under the MIT License)
Copyright (c) Tailwind Labs, Inc.
https://github.com/tailwindlabs/tailwindcss/blob/master/LICENSE

theme-change (under the MIT License)
Copyright (c) 2022 Pouya Saadeghi
https://github.com/saadeghi/theme-change/blob/master/LICENSE

この記事が気に入ったらサポートをしてみませんか?