Skip to content

Commit

Permalink
changes to geoweaver homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulprathin8 committed Dec 26, 2023
1 parent 6363cd8 commit b369163
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 107 deletions.
142 changes: 36 additions & 106 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions content/english/sections/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
enable: true
title: "Examples"
description: "Try out the new features of Geoweaver"

features:
- featureName: "Feature1"
contentLink: "https://example.com"
- featureName: "Feature2"
contentLink: "https://example.com"
_build:
render: "never"
---
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ baseURL = "/"
# Title of your website (required).
title = "Geoweaver"
# Your theme name
theme = "Geoweaver"
theme = "hugoplate"
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
timeZone = "America/New_York"
# post pagination
Expand Down
27 changes: 27 additions & 0 deletions themes/hugoplate/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,32 @@ <h3 class="h5 font-primary font-semibold">
</section>
{{ end }}
{{ end }}

<!-- Examples -->
{{ with site.GetPage "sections/examples" }}
{{if .Params.enable}}
<section class="section">
<div class="container">
<div class="mx-auto text-center md:col-10 lg:col-8 xl:col-6 mb-12">
<h2 class="mb-4">
{{ .Title | markdownify }}
</h2>
</div>

<div class="mt-2 grid grid-rows-2 grid-flow-col gap-4">
<p>test 1</p>
<p>test 1</p>
<p>test 1</p>
<p>test 1</p>
<p>test 1</p>
<p>test 1</p>
<p>test 1</p>
<p>test 1</p>
</div>

</div>
</section>
{{ end }}
{{ end }}
<!-- /Testimonials -->
{{ end }}

0 comments on commit b369163

Please sign in to comment.