add another link to blog posts and fix a broken link
diff --git a/site/src/site/pages/contribute.groovy b/site/src/site/pages/contribute.groovy
index 46459f0..cc36c60 100644
--- a/site/src/site/pages/contribute.groovy
+++ b/site/src/site/pages/contribute.groovy
@@ -38,7 +38,11 @@
yield ' various aspects of the language or its APIs'
}
li {
- yield 'Creating or commenting on the '
+ a(href: '#blogging', 'writing a blog post')
+ yield ' about some Groovy feature or your Groovy usage'
+ }
+ li {
+ yield 'creating or commenting on the '
a(href: 'wiki/geps.html', 'Groovy Enhancement Proposals')
yield ' which describe how we make significant changes to the language'
}
@@ -94,6 +98,20 @@
hr(class: 'divider')
+ a(name: 'blogging') {}
+ h2 'Writing a blog post'
+ p {
+ yield '''
+ Groovy has a lot of great features that some folks have never heard of.
+ Why not write an interesting post about your favourite feature. You can
+ use your own blogging platform or create a pull request for a new post in the '''
+ a(href: 'https://github.com/apache/groovy-website/tree/asf-site/site/src/site/blog', 'blog part')
+ yield ' of our website.'
+
+ }
+
+ hr(class: 'divider')
+
a(name: 'documenting') {}
h2 'Improving the documentation'
p 'The documentation of the Groovy programming language comes in various forms:'
diff --git a/site/src/site/pages/groovy-weekly.groovy b/site/src/site/pages/groovy-weekly.groovy
index 7313aa5..a28850a 100644
--- a/site/src/site/pages/groovy-weekly.groovy
+++ b/site/src/site/pages/groovy-weekly.groovy
@@ -18,7 +18,7 @@
p 'The Groovy newsletter is no longer produced on a regular basis but you can still view the archives:'
ul {
li {
- a(href: 'https://us4.campaign-archive2.com/home/?u=cb8b56e9d6a1cb1696cecc673&id=1a76961630',
+ a(href: 'https://glaforge.dev/tags/groovy-weekly/',
'View past editions of the Groovy newsletter.')
}
}
diff --git a/site/src/site/sitemap-dev.groovy b/site/src/site/sitemap-dev.groovy
index 80d4932..e1b2009 100644
--- a/site/src/site/sitemap-dev.groovy
+++ b/site/src/site/sitemap-dev.groovy
@@ -30,6 +30,7 @@
item 'Support', "${userSiteBase}support.html"
item 'Contribute', "${devSiteBase}"
item 'Ecosystem', "${userSiteBase}ecosystem.html"
+ item 'Blog posts', "${devSiteBase}blogs"
item '', "https://groovy.apache.org/events.html" // keep ASF web crawler somewhat happy
}
diff --git a/site/src/site/sitemap-user.groovy b/site/src/site/sitemap-user.groovy
index 2a34885..a2e6563 100644
--- a/site/src/site/sitemap-user.groovy
+++ b/site/src/site/sitemap-user.groovy
@@ -29,6 +29,7 @@
item 'Support', 'support.html'
item 'Contribute', "${devSiteBase}"
item 'Ecosystem', 'ecosystem.html'
+ item 'Blog posts', "${devSiteBase}blogs"
}
group('About') {