-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display fortune cookie messages #22
Comments
How was that? Where? The request was made where by whom? |
@arademaker I don't recall where, perhaps during the infrastructure session or the social afterward. It was actually a self-request, but I think Emily agreed. |
I agree that having the fortune cookies is a fun touch that shows people
the spirit of DELPH-IN, ...
…On Sat, Aug 14, 2021 at 8:17 AM Michael Wayne Goodman < ***@***.***> wrote:
@arademaker <https://github.com/arademaker> I don't recall where, perhaps
during the infrastructure session or the social afterward. It was actually
a self-request, but I think Emily agreed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIPZRS3UQ5XZBP3JW3SFDDT4WYX5ANCNFSM5CEMW2QQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
Division of Linguistics and Multilingual Studies
Nanyang Technological University
|
I'm sorry, what are fortune cookies? :) In our context, that is (I know of the restaurant context...) |
https://github.com/delph-in/docs/wiki/FortuneCookies In the old wiki, a random one would be displayed when you view a page. We used to add a few new ones roughly every summit. |
We are so fun... and maybe eclectic? |
There was a request to re-add fortune cookie messages, at least to the front page. There are two issues with the way things are currently set up:
gollum
) events that captures edits to that page and extracts the fortunes out.index.md
, and the rendering system strips out unsafe HTML like<script>
and<link>
tags, which makes it difficult to add javascript code to display the fortune.I propose the following:
.js
file, e.g.:index.md
toindex.html
to avoid rendering with Gollumindex.html
that loads thefortunes.js
(or whatever it's called) and displays a random oneThe text was updated successfully, but these errors were encountered: