QMUL-MAT / gatsby-mat

The MAT official website, (re)written in gatsby.js
https://mat.qmul.ac.uk
BSD Zero Clause License
3 stars 2 forks source link

Make application times on homepage editable in markdown #17

Closed Nagasaki45 closed 2 years ago

Nagasaki45 commented 2 years ago

@teo523, I've seen you're editing info re application deadlines. I've introduced a way to edit the "apply now" section on the homepage in markdown. Check out /src/content/pages/index.md.

teo523 commented 2 years ago

Thank you so much @Nagasaki45! However, what I was actually trying to do is to hide the application banner that appears in src/content/programmes/phd_programme.md and in src/content/programmes/masters_programme.md (the one that currently says "Application dates to be confirmed"). I tried by removing the registration_text tag but I got an error as it is queried from programme.js. Do you know an easy way to do it? If not no worries, is not urgent...

Nagasaki45 commented 2 years ago

Solved! Now it doesn't crash if the registration_link or registration_text fields are empty. Instead, it hides the registration button.

teo523 commented 2 years ago

That's great! thanks again Dr @Nagasaki45

nickbknickbk commented 2 years ago

Super!

Nick.

: Prof. Nick Bryan-Kinns : Director, EPSRC+AHRC Media and Arts Technology CDT : www.mat.qmul.ac.uk : @QMUL_MAT :

From: Teo Dannemann @.> Reply to: QMUL-MAT/gatsby-mat @.> Date: Wednesday, 27 October 2021 at 17:27 To: QMUL-MAT/gatsby-mat @.> Cc: Subscribed @.> Subject: Re: [QMUL-MAT/gatsby-mat] Make application times on homepage editable in markdown (#17)

That's great! thanks again Dr @Nagasaki45https://github.com/Nagasaki45

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/QMUL-MAT/gatsby-mat/issues/17#issuecomment-953096207, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACZNZ2U64JVZUXDF7YDKCODUJAZBFANCNFSM5B4J35AQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.