diff --git a/content/_index.md b/content/_index.md index ccba8de..733bf86 100644 --- a/content/_index.md +++ b/content/_index.md @@ -24,24 +24,35 @@ section = "blog" url = "/blog/" weight = 20 +[[extra.menu.main]] +name = "Events" +section = "events" +url = "/events/" +weight = 20 + [[extra.list]] title = "Rust Resources" content = 'Get all the resources for you to get started from basics to advanced topics' +url = "#" [[extra.list]] title = "Sub Communities" content = 'Information and PoC of communities near you to take part in and geek out on Rust together' +url = "/docs/sub-communities/details" [[extra.list]] title = "Mentorship" content = "Rust Bridge program and more initiatives to pair new commers with experienced Rustaceans to get the much needed mentorship." +url = "#" [[extra.list]] title = "Newsletter" content = "Timely news on what's happening in the Rust India ecosystem and get a glimpse of what are building" +url = "#" [[extra.list]] title = "Events" content = "Get to know about meetups, events happening across India where you can take part in and exchange knowledge" +url = "/events" +++ diff --git a/content/docs/sub-communities/details.md b/content/docs/sub-communities/details.md index 38ed7bd..2d5a1a1 100644 --- a/content/docs/sub-communities/details.md +++ b/content/docs/sub-communities/details.md @@ -11,7 +11,7 @@ toc = true top = false +++ -##### Want to add your community details? Please create a PR and [add the details to this table!](https://github.com/rustindia/rustindia.github.io/blob/master/content/docs/sub-communities/details.md) or reach out us for help. Maybe use [markdown table generator](https://tablesgenerator.com/markdown_tables#) for ease +##### Want to add your community details? Please create a PR and [add the details to this table!](https://github.com/rustindia/rustindia.github.io/blob/master/content/docs/sub-communities/details.md) or reach out us for help. Maybe use [markdown table generator](https://tablesgenerator.com/markdown_tables#) for ease. Do checkout the latest [events conducted by these communities](/events). | Location | Events | Community Platform | Social Media Presence | Misc Links | | ----------------- | ------------------------------------------------ | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------- | diff --git a/content/events/_index.md b/content/events/_index.md new file mode 100644 index 0000000..4747419 --- /dev/null +++ b/content/events/_index.md @@ -0,0 +1,10 @@ ++++ +title = "Events" +description = "List of Rust India events in 2023" +date = 2023-07-14T08:00:00+00:00 +updated = 2023-07-14T08:00:00+00:00 +draft = false +template = "events/section.html" ++++ + +The list of upcoming events. \ No newline at end of file diff --git a/templates/events/section.html b/templates/events/section.html new file mode 100644 index 0000000..98afc0a --- /dev/null +++ b/templates/events/section.html @@ -0,0 +1,50 @@ +{% extends "section.html" %} + +{% block body %} + {% set page_class = "Community upcoming events" %} +{% endblock body %} + +{% block header %} + {# This value is matched by the config.extra.menu.main->section #} + {% set current_section = "events" %} + {{ macros_header::header(current_section=current_section)}} +{% endblock header %} + +{% block content %} +
{{ section.extra.lead | default(value="Please start setting config.toml and adding your content.") | safe }}
+ {{ section.extra.url_button | default(value="Get started") }} + +{{ val.content | safe }}
+Get A+ scores on Mozilla Observatory out of the box. Easily change the default Security Headers to suit your needs.
+Get 100 scores on Google Lighthouse by default. Doks removes unused css, prefetches links, and lazy loads images.
+Use sensible defaults for structured data, open graph, and Twitter cards. Or easily change the SEO settings to your liking.
+Search your Doks site with FlexSearch. Easily customize index settings and search options to your liking.
+Build pages with a landing page, blog, or documentation layout. Add custom sections and components to suit your needs.
+Switch to a low-light UI with the click of a button. Change colors with variables to match your branding.
+