Skip to content
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

Add a sponsors page to the website #2

Open
bhavin192 opened this issue Aug 6, 2022 · 0 comments
Open

Add a sponsors page to the website #2

bhavin192 opened this issue Aug 6, 2022 · 0 comments
Assignees

Comments

@bhavin192
Copy link
Contributor

bhavin192 commented Aug 6, 2022

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 org
      url: https://example.com
      sponsorship: Venue sponsor
      logo: <link to the logo> # need to decide the dimensions here.

Reference: https://stackoverflow.com/a/37515023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants