You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a page listing our sponsors. This will have name, logo (currently we have only 120x90px logos), link to their site, and how they helped us. More or less same details which are on meetup.com page.
Implementation
Maybe we can have a partial and a page layout in the theme. And in the content repository, we will just create a .md file which uses this layout.
website-theme changes
Add layouts/page/sponsors.html with:
{{ define "main" }}
HTML content or calls to partials here.
{{ end }}
This will utilize the .Site.Data.sponsors to load the data, and iterate over it.
meetup-talks changes
Add content/sponsors.md with:
type: page
layout: sponsors
Add data/sponsors.yaml with data:
- name: ACME orgurl: https://example.comsponsorship: Venue sponsorlogo: <link to the logo> # need to decide the dimensions here.
Have a page listing our sponsors. This will have name, logo (currently we have only 120x90px logos), link to their site, and how they helped us. More or less same details which are on meetup.com page.
Implementation
Maybe we can have a partial and a page layout in the theme. And in the content repository, we will just create a
.md
file which uses this layout.website-theme changes
layouts/page/sponsors.html
with:.Site.Data.sponsors
to load the data, and iterate over it.meetup-talks changes
content/sponsors.md
with:data/sponsors.yaml
with data:Reference: https://stackoverflow.com/a/37515023
The text was updated successfully, but these errors were encountered: