Closed shenyih0ng closed 1 year ago
This PR is mainly to remove the use of nofh, which is little confusing.
nofh
Instead of using nofh to conditionally render sponsorships for FH, we can use the proposed new sponsors field.
sponsors
Example of how it can be used:
https://github.com/nushackers/nushackers-site/blob/0fa3e6b688a347ed0cf8920dc06b47e072315ede/content/post/2022-11-04-friday-hacks-232.md?plain=1#L5-L7
It works by loading sponsor_<sponsor-name>.html partials.
sponsor_<sponsor-name>.html
Description
This PR is mainly to remove the use of
nofh
, which is little confusing.Instead of using
nofh
to conditionally render sponsorships for FH, we can use the proposed newsponsors
field.Example of how it can be used:
https://github.com/nushackers/nushackers-site/blob/0fa3e6b688a347ed0cf8920dc06b47e072315ede/content/post/2022-11-04-friday-hacks-232.md?plain=1#L5-L7
It works by loading
sponsor_<sponsor-name>.html
partials.