Button for P&C mini-episodes associated with the main story
As mentioned in the P&C chat room, I have a suggestion for a button: (scroll to the bottom)
http://old.fici.si/website-2021/en/webcomic/ep38_The-Healer.html#demo
http://old.fici.si/website-2021/fr/webcomic/ep37_The-Tears-of-the-Phoenix.html#demo
(I shut down this server overnight)
Well, the button is not just a suggestion. I have already programmed it on my test page. Apart from some cosmetic changes, the only thing we need to do is to specify where the episode link data is pulled from. (Maybe .json in the P&C mini repository.) It's in PHP code at the moment.
The button shows up if the episode is listed in the array, and gives a link to the corresponding mini-episode. The button doesn't appear if there is no translation for the selected language.
Current array:
$pcminiepisodes=array('22' => '02', '31' => '24', '32' => '26', '33' => '27', '34' => '28', '35' => '29', '36' => '30', '37' => '31', '38' => '32');
Edit: My button is not expandable, but how about we implement it until we have a better feature?
My code: 0380517c (Yes, I've put it all in one place, packed so it's easy to remove later)