@@ -77,11 +75,7 @@ Projects compatible with the
- See
-
- here to find out more about the fpm registry
- and how you can get your fpm compatible package listed.
-
+ {% t packages.fpm_footer_text %}
-
\ No newline at end of file
+
From d1e092aec7da6975ae9b74c5378fcd6e25724656 Mon Sep 17 00:00:00 2001
From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
Date: Sun, 14 Feb 2021 13:45:08 +0100
Subject: [PATCH 05/24] Separate content from markup on the main page
---
_i18n/en.yml | 7 ++
_i18n/en/develop_tools.html | 9 ++
_i18n/en/faqs.html | 24 +++++
_i18n/en/features.html | 32 +++++++
_i18n/en/index.html | 170 ----------------------------------
_i18n/en/open_source.html | 5 +
_i18n/en/write_proposals.html | 8 ++
_i18n/en/write_software.html | 5 +
index.html | 96 ++++++++++++++++++-
9 files changed, 185 insertions(+), 171 deletions(-)
create mode 100644 _i18n/en/develop_tools.html
create mode 100644 _i18n/en/faqs.html
create mode 100644 _i18n/en/features.html
delete mode 100644 _i18n/en/index.html
create mode 100644 _i18n/en/open_source.html
create mode 100644 _i18n/en/write_proposals.html
create mode 100644 _i18n/en/write_software.html
diff --git a/_i18n/en.yml b/_i18n/en.yml
index 648b7a416..25e1f7f4f 100644
--- a/_i18n/en.yml
+++ b/_i18n/en.yml
@@ -24,6 +24,13 @@ global:
of core fortran-lang.org projects (stdlib, fpm), and get
the latest news.
+home:
+ tagline: High-performance parallel programming language
+ get_started: Get started
+ more: More
+ join_us: Join us!
+ make_fortran_better: Make Fortran better
+
nav:
- title: Learn
url: /learn/
diff --git a/_i18n/en/develop_tools.html b/_i18n/en/develop_tools.html
new file mode 100644
index 000000000..df9e86676
--- /dev/null
+++ b/_i18n/en/develop_tools.html
@@ -0,0 +1,9 @@
+Develop tools
+
+You can also help make Fortran better by contributing to its
+suite of tools, such as
+Standard Library,
+Package Manager, or
+this website.
+
+
diff --git a/_i18n/en/faqs.html b/_i18n/en/faqs.html
new file mode 100644
index 000000000..d1331f14a
--- /dev/null
+++ b/_i18n/en/faqs.html
@@ -0,0 +1,24 @@
+What is the status of Fortran?
+Fortran is still in active development.
+The latest revision of the language is Fortran 2018,
+and the next one, with the working title Fortran 202x,
+is planned for release in the next few years.
+Further, open source projects like the
+Standard Library
+and the
+Fortran Package Manager
+are in active development.
+
+What is Fortran used for?
+Fortran is mostly used in domains that adopted computation
+early--science and engineering.
+These include numerical weather and ocean prediction,
+computational fluid dynamics, applied math, statistics, and finance.
+Fortran is the dominant language of High Performance Computing,
+and is used to
+benchmark the fastest supercomputers in the world.
+
+Should I use Fortran for my new project?
+If you're writing a program or a library to perform fast arithmetic
+computation over large numeric arrays, Fortran is the optimal tool
+for the job.
diff --git a/_i18n/en/features.html b/_i18n/en/features.html
new file mode 100644
index 000000000..75aad4b43
--- /dev/null
+++ b/_i18n/en/features.html
@@ -0,0 +1,32 @@
+Features
+
+High performance
+Fortran has been designed from the ground-up for computationally
+intensive applications in science and engineering.
+Mature and battle-tested compilers and libraries allow you to write
+code that runs close to the metal, fast.
+
+Statically and strongly typed
+Fortran is statically and strongly typed, which allows the
+compiler to catch many programming errors early on for you.
+This also allows the compiler to generate efficient binary code.
+
+Easy to learn and use
+Fortran is a relatively small language that is surprisingly easy
+to learn and use.
+Expressing most mathematical and arithmetic operations over large
+arrays is as simple as you'd write them as equations on a whiteboard.
+
+Versatile
+Fortran allows you to write code in a style that best fits your problem:
+Imperative, procedural, array-oriented, object-oriented, or functional.
+
+Natively parallel
+Fortran is a natively parallel programming language
+with intuitive array-like syntax to communicate data between CPUs.
+You can run almost the same code on a single CPU,
+on a shared-memory multicore system, or on a distributed-memory
+HPC or cloud-based system.
+Coarrays, teams, events, and collective subroutines
+allow you to express different parallel programming patterns
+that best fit your problem at hand.
diff --git a/_i18n/en/index.html b/_i18n/en/index.html
deleted file mode 100644
index b91344fa9..000000000
--- a/_i18n/en/index.html
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
- Features
-
- High performance
- Fortran has been designed from the ground-up for computationally
- intensive applications in science and engineering.
- Mature and battle-tested compilers and libraries allow you to write
- code that runs close to the metal, fast.
-
- Statically and strongly typed
- Fortran is statically and strongly typed, which allows the
- compiler to catch many programming errors early on for you.
- This also allows the compiler to generate efficient binary code.
-
- Easy to learn and use
- Fortran is a relatively small language that is surprisingly easy
- to learn and use.
- Expressing most mathematical and arithmetic operations over large
- arrays is as simple as you'd write them as equations on a whiteboard.
-
- Versatile
- Fortran allows you to write code in a style that best fits your problem:
- Imperative, procedural, array-oriented, object-oriented, or functional.
-
- Natively parallel
- Fortran is a natively parallel programming language
- with intuitive array-like syntax to communicate data between CPUs.
- You can run almost the same code on a single CPU,
- on a shared-memory multicore system, or on a distributed-memory
- HPC or cloud-based system.
- Coarrays, teams, events, and collective subroutines
- allow you to express different parallel programming patterns
- that best fit your problem at hand.
-
-
-
-
-
-
- News
-
- {% comment %} {% endcomment %}
-
- {% assign posts_to_show = 5 %}
- {% for post in site.posts limit:posts_to_show %}
-
- {{ post.title }} |
- {{ post.date | date:"%d %b %Y" }} |
-
- {% comment %} {% endcomment %}
- {% endfor %}
-
- {% comment %} {% endcomment %}
-
- More…
-
-
-
-
-
-
-
-
-
-
-
-
-
- FAQ
-
-
- What is the status of Fortran?
- Fortran is still in active development.
- The latest revision of the language is Fortran 2018,
- and the next one, with the working title Fortran 202x,
- is planned for release in the next few years.
- Further, open source projects like the
- Standard Library
- and the
- Fortran Package Manager
- are in active development.
-
- What is Fortran used for?
- Fortran is mostly used in domains that adopted computation
- early--science and engineering.
- These include numerical weather and ocean prediction,
- computational fluid dynamics, applied math, statistics, and finance.
- Fortran is the dominant language of High Performance Computing,
- and is used to
- benchmark the fastest supercomputers in the world.
-
- Should I use Fortran for my new project?
- If you're writing a program or a library to perform fast arithmetic
- computation over large numeric arrays, Fortran is the optimal tool
- for the job.
-
-
-
-
-
- Join us!
-
- {% include mailing_list.html %}
-
- {% include discourse.html %}
-
- {% include twitter.html %}
-
- {% include rss_feed.html %}
-
- Open source
-
- Contribute code, report bugs and request features at
- GitHub.
-
-
-
-
-
-
-
-
-
- Make Fortran better
-
-
- Write proposals
-
- Have an idea about how to improve the language?
- You can write new proposals or contribute to existing proposals
- to the Fortran Standard Committee
- on GitHub.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Write Fortran software
-
- Or just write Fortran software for your research, business, or schoolwork.
- You can learn how to get started here.
-
-
-
-
-
diff --git a/_i18n/en/open_source.html b/_i18n/en/open_source.html
new file mode 100644
index 000000000..97df9e72a
--- /dev/null
+++ b/_i18n/en/open_source.html
@@ -0,0 +1,5 @@
+ Open source
+
+Contribute code, report bugs and request features at
+GitHub.
+
diff --git a/_i18n/en/write_proposals.html b/_i18n/en/write_proposals.html
new file mode 100644
index 000000000..df02579b1
--- /dev/null
+++ b/_i18n/en/write_proposals.html
@@ -0,0 +1,8 @@
+Write proposals
+
+Have an idea about how to improve the language?
+You can write new proposals or contribute to existing proposals
+to the Fortran Standard Committee
+on GitHub.
+
+
diff --git a/_i18n/en/write_software.html b/_i18n/en/write_software.html
new file mode 100644
index 000000000..154eccf0b
--- /dev/null
+++ b/_i18n/en/write_software.html
@@ -0,0 +1,5 @@
+Write Fortran software
+
+Or just write Fortran software for your research, business, or schoolwork.
+You can learn how to get started here.
+
diff --git a/index.html b/index.html
index 3261242a5..e58086e0e 100644
--- a/index.html
+++ b/index.html
@@ -6,4 +6,98 @@
{% capture active %}{% t nav_key.home %}{% endcapture %}
{% include nav.html active=active %}
-{% tf index.html %}
+
+
+
+
+
+ {% tf features.html %}
+
+
+
+
+
+
+ News
+
+ {% comment %} {% endcomment %}
+
+ {% assign posts_to_show = 5 %}
+ {% for post in site.posts limit:posts_to_show %}
+
+ {{ post.title }} |
+ {{ post.date | date:"%d %b %Y" }} |
+
+ {% comment %} {% endcomment %}
+ {% endfor %}
+
+ {% comment %} {% endcomment %}
+
+ {% t more %}…
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FAQ
+
+
+ {% tf faqs.html %}
+
+
+
+
+
+ {% t home.join_us %}
+
+ {% include mailing_list.html %}
+
+ {% include discourse.html %}
+
+ {% include twitter.html %}
+
+ {% include rss_feed.html %}
+
+ {% tf open_source.html %}
+
+
+
+
+
+
+
+
+ {% t home.make_fortran_better %}
+
+
+ {% tf write_proposals.html %}
+
+
+
+ {% tf develop_tools.html %}
+
+
+
+
+
+
+
+
+
+
+ {% tf write_software.html %}
+
+
+
+
From 8ec2b25d73f6f476a5da9c66d3fe905178863797 Mon Sep 17 00:00:00 2001
From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
Date: Sun, 14 Feb 2021 15:06:18 +0100
Subject: [PATCH 06/24] Separate content from markup for other subpages as well
---
_i18n/en.yml | 32 ++-
_i18n/en/community/build_and_test.html | 9 +
_i18n/en/community/community_conduct.html | 10 +
_i18n/en/community/contributor_guide.html | 12 ++
.../community/fortran_lang_contributors.html | 4 +
_i18n/en/community/fpm.html | 6 +
_i18n/en/community/index.html | 182 ------------------
_i18n/en/community/join_the_discussion.html | 14 ++
_i18n/en/community/stdlib.html | 7 +
_i18n/en/community/website.html | 5 +
_i18n/en/learn/index.html | 116 -----------
_i18n/en/learn/looking_for_help.html | 7 +
_i18n/en/learn/new_to_fortran.html | 6 +
_i18n/en/news/archive.html | 21 --
_i18n/en/news/index.html | 42 ----
_i18n/en/packages/footer_text.html | 3 +
_i18n/en/packages/fpm_footer.html | 4 +
_i18n/en/packages/index.html | 93 ---------
_i18n/en/packages/package_index.html | 16 ++
_i18n/en/packages/search.html | 30 ---
_layouts/code_category.html | 2 +-
community/index.html | 121 +++++++++++-
learn/index.html | 105 +++++++++-
news/archive.html | 22 ++-
news/index.html | 42 +++-
packages/category/fpm.html | 2 +-
packages/index.html | 72 ++++++-
packages/search.html | 30 ++-
28 files changed, 514 insertions(+), 501 deletions(-)
create mode 100644 _i18n/en/community/build_and_test.html
create mode 100644 _i18n/en/community/community_conduct.html
create mode 100644 _i18n/en/community/contributor_guide.html
create mode 100644 _i18n/en/community/fortran_lang_contributors.html
create mode 100644 _i18n/en/community/fpm.html
delete mode 100644 _i18n/en/community/index.html
create mode 100644 _i18n/en/community/join_the_discussion.html
create mode 100644 _i18n/en/community/stdlib.html
create mode 100644 _i18n/en/community/website.html
delete mode 100644 _i18n/en/learn/index.html
create mode 100644 _i18n/en/learn/looking_for_help.html
create mode 100644 _i18n/en/learn/new_to_fortran.html
delete mode 100644 _i18n/en/news/archive.html
delete mode 100644 _i18n/en/news/index.html
create mode 100644 _i18n/en/packages/footer_text.html
create mode 100644 _i18n/en/packages/fpm_footer.html
delete mode 100644 _i18n/en/packages/index.html
create mode 100644 _i18n/en/packages/package_index.html
delete mode 100644 _i18n/en/packages/search.html
diff --git a/_i18n/en.yml b/_i18n/en.yml
index 25e1f7f4f..5505d02ba 100644
--- a/_i18n/en.yml
+++ b/_i18n/en.yml
@@ -4,6 +4,8 @@ global:
discourse: Discourse
twitter: Twitter
github: GitHub
+ documentation: Documentation
+ contributing: Contributing
rss_feed: RSS feed
rss_client: >-
RSS clients can follow the
@@ -51,6 +53,15 @@ nav_key:
packages: Packages
news: News
+learn:
+ getting_started: Getting started
+ quickstart_tutorial: Quickstart tutorial
+ fortran_lang_discourse: Fortran-lang Discourse
+ minibook_tutorials: Mini-book Tutorials
+ other_resources: Other Resources
+ on_the_web: On the web
+ in_print: In print
+
book:
authors: Authors
introduction: Introduction
@@ -64,9 +75,14 @@ book_nav:
next: Next
news:
+ archive: Archive
authors: Authors
back_to_news: Back to news
more: More
+ read_more: Read more
+ see_archive: >-
+ See the
+ news archive for older posts
packages:
featured: Featured Open Source Projects
@@ -77,18 +93,16 @@ packages:
Projects compatible with the
Fortran Package Manager
- fpm_footer_text: >-
- See
-
- here to find out more about the fpm registry
- and how you can get your fpm compatible package listed.
- footer_text: >-
- See
-
- here for how to get your project listed.
tags: Tags
author: Author
maintainer: Maintainer
+ find_a_package: Find a Package
+ featured_topics: Featured topics
+ browse: Browse Packages by Category
+ search_for_a_project: Search for a project
+
+community:
+ header: Fortran-lang Community Projects
langs:
en: English
diff --git a/_i18n/en/community/build_and_test.html b/_i18n/en/community/build_and_test.html
new file mode 100644
index 000000000..645397563
--- /dev/null
+++ b/_i18n/en/community/build_and_test.html
@@ -0,0 +1,9 @@
+
+ Build and Test
+
+Get more involved with each project by cloning, building and testing
+it on your own machine(s) and with your own codes;
+if something doesn't work, create an issue to let us know!
+We value user feedback highly, be it a bug report, feature request, or
+suggestion for documentation.
+
diff --git a/_i18n/en/community/community_conduct.html b/_i18n/en/community/community_conduct.html
new file mode 100644
index 000000000..f0523cb1e
--- /dev/null
+++ b/_i18n/en/community/community_conduct.html
@@ -0,0 +1,10 @@
+
+ Community Conduct
+
+As a community, we strive to make participation in our discussions and projects a friendly and
+harassment-free experience for everyone.
+
+
+ See the full
+Code of Conduct
+
diff --git a/_i18n/en/community/contributor_guide.html b/_i18n/en/community/contributor_guide.html
new file mode 100644
index 000000000..0c5a8e6be
--- /dev/null
+++ b/_i18n/en/community/contributor_guide.html
@@ -0,0 +1,12 @@
+
+ Contributor Guide
+
+Want to contribute code and content?
+Check out the contributor guides in each repository for information
+on the project workflow and recommended practices.
+
+
diff --git a/_i18n/en/community/fortran_lang_contributors.html b/_i18n/en/community/fortran_lang_contributors.html
new file mode 100644
index 000000000..3e382f48b
--- /dev/null
+++ b/_i18n/en/community/fortran_lang_contributors.html
@@ -0,0 +1,4 @@
+Fortran-lang Contributors
+
+We are grateful for every contribution made by all members of the community.
+
diff --git a/_i18n/en/community/fpm.html b/_i18n/en/community/fpm.html
new file mode 100644
index 000000000..179999bfa
--- /dev/null
+++ b/_i18n/en/community/fpm.html
@@ -0,0 +1,6 @@
+
+ Fortran Package Manager (fpm)
+
+A prototype project to develop a common build system for Fortran packages
+and their dependencies.
+
diff --git a/_i18n/en/community/index.html b/_i18n/en/community/index.html
deleted file mode 100644
index 22705e8b5..000000000
--- a/_i18n/en/community/index.html
+++ /dev/null
@@ -1,182 +0,0 @@
-
-
-
-
- Fortran-lang Community Projects
-
-
-
-
- Fortran Standard Library (stdlib)
-
- A community-driven project for a de facto "standard" library for Fortran.
- The stdlib project is both a specification and a reference implementation, developed in
- cooperation with the Fortran Standards Committee.
-
-
-
-
- GitHub
-
-
-
-
-
- Documentation
-
-
-
-
-
- Contributing
-
-
-
-
-
- Fortran Package Manager (fpm)
-
- A prototype project to develop a common build system for Fortran packages
- and their dependencies.
-
-
-
-
- GitHub
-
-
-
-
-
- Documentation
-
-
-
-
-
- Contributing
-
-
-
-
- fortran-lang.org
-
- This website is open source and contributions are welcome!
-
-
-
-
- GitHub
-
-
-
-
-
- Contributing
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get Involved
-
-
-
-
- Join the Discussion
-
- The easiest way to join the community and contribute is by
- commenting on issues and pull requests in the project
- repositories.
-
- Whether Fortran beginner or seasoned veteran, your feedback and comments are most
- welcome in guiding the future of Fortran-lang.
-
-
-
-
-
-
-
- Build and Test
-
- Get more involved with each project by cloning, building and testing
- it on your own machine(s) and with your own codes;
- if something doesn't work, create an issue to let us know!
- We value user feedback highly, be it a bug report, feature request, or
- suggestion for documentation.
-
-
-
-
-
-
-
- Contributor Guide
-
- Want to contribute code and content?
- Check out the contributor guides in each repository for information
- on the project workflow and recommended practices.
-
-
-
-
-
-
- Community Conduct
-
- As a community, we strive to make participation in our discussions and projects a friendly and
- harassment-free experience for everyone.
-
-
- See the full
- Code of Conduct
-
-
-
-
-
-
-
-
- Fortran-lang Contributors
-
- We are grateful for every contribution made by all members of the community.
-
-
-
-
-
-
-
-
-
-
diff --git a/_i18n/en/community/join_the_discussion.html b/_i18n/en/community/join_the_discussion.html
new file mode 100644
index 000000000..b12d713f2
--- /dev/null
+++ b/_i18n/en/community/join_the_discussion.html
@@ -0,0 +1,14 @@
+
+
+ Join the Discussion
+
+The easiest way to join the community and contribute is by
+commenting on issues and pull requests in the project
+repositories.
+
+ Whether Fortran beginner or seasoned veteran, your feedback and comments are most
+ welcome in guiding the future of Fortran-lang.
+
+
+
diff --git a/_i18n/en/community/stdlib.html b/_i18n/en/community/stdlib.html
new file mode 100644
index 000000000..10445e3f7
--- /dev/null
+++ b/_i18n/en/community/stdlib.html
@@ -0,0 +1,7 @@
+
+ Fortran Standard Library (stdlib)
+
+A community-driven project for a de facto "standard" library for Fortran.
+The stdlib project is both a specification and a reference implementation, developed in
+cooperation with the Fortran Standards Committee.
+
diff --git a/_i18n/en/community/website.html b/_i18n/en/community/website.html
new file mode 100644
index 000000000..36933dfa2
--- /dev/null
+++ b/_i18n/en/community/website.html
@@ -0,0 +1,5 @@
+
+ fortran-lang.org
+
+This website is open source and contributions are welcome!
+
diff --git a/_i18n/en/learn/index.html b/_i18n/en/learn/index.html
deleted file mode 100644
index 62d22e1e3..000000000
--- a/_i18n/en/learn/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
- Getting Started
-
-
-
- New to Fortran
-
- Try the quickstart Fortran tutorial, to
- get an overview of the language syntax and capabilities.
-
-
-
- Quickstart tutorial
-
-
-
-
-
-
- Looking for help
-
- Ask a question in the Fortran-lang discourse - a forum
- for friendly discussion of all things Fortran.
-
-
-
-
- Fortran-lang Discourse
-
-
-
-
-
-
-
-
-
-
-
- Mini-book Tutorials
-
- {% for category in site.data.learning.categories %}
-
-
- {% if category.fa-icon %}
-
- {% endif %}
- {{ category.name }}
-
-
- {% assign catBooks = site.data.learning.books | where_exp:"book", "book.category == category.name"%}
-
- {% for book in catBooks %}
-
-
- {{ book.description }}
-
- {% endfor %}
-
-
- {% endfor %}
-
-
-
-
-
-
-
-
- Other Resources
-
- On the web
-
-
- {% for refLink in site.data.learning.reference-links %}
- -
-
- {{ refLink.name }}
-
- {{ refLink.description }}
-
- {% endfor %}
-
-
-
- In print
-
-
- {% assign refBooks = site.data.learning.reference-books | sort: "year" | reverse %}
- {% for refBook in refBooks %}
- -
- {{ refBook.author }}. {{ refBook.year }}.
-
- {{ refBook.title }}
- .
- {{ refBook.edition }}.
- {{ refBook.location }}.
- {{ refBook.publisher }}
-
- {% endfor %}
-
-
-
-
-
-
diff --git a/_i18n/en/learn/looking_for_help.html b/_i18n/en/learn/looking_for_help.html
new file mode 100644
index 000000000..5491d17a5
--- /dev/null
+++ b/_i18n/en/learn/looking_for_help.html
@@ -0,0 +1,7 @@
+
+ Looking for help
+
+Ask a question in the Fortran-lang discourse - a forum
+for friendly discussion of all things Fortran.
+
+
diff --git a/_i18n/en/learn/new_to_fortran.html b/_i18n/en/learn/new_to_fortran.html
new file mode 100644
index 000000000..820043a71
--- /dev/null
+++ b/_i18n/en/learn/new_to_fortran.html
@@ -0,0 +1,6 @@
+
+ New to Fortran
+
+Try the quickstart Fortran tutorial, to
+get an overview of the language syntax and capabilities.
+
diff --git a/_i18n/en/news/archive.html b/_i18n/en/news/archive.html
deleted file mode 100644
index 9bc964d1e..000000000
--- a/_i18n/en/news/archive.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- News / Archive
-
- {% assign postsByYearMonth = site.categories.newsletter | group_by_exp:"post", "post.date | date: '%B %Y'" %}
- {% for yearMonth in postsByYearMonth %}
- {{ yearMonth.name }}
-
- {% endfor %}
-
-
-
-
-
diff --git a/_i18n/en/news/index.html b/_i18n/en/news/index.html
deleted file mode 100644
index a2593698e..000000000
--- a/_i18n/en/news/index.html
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- {% for post in site.categories.newsletter limit:5 %}
-
- {{ post.title }}
-
-
- {{ post.date | date: "%d %B %Y" }}
- {% if post.author %}
- Authors: {{ post.author }}
- {% endif %}
-
-
- {% if post.title == site.categories.newsletter.first.title %}
- {{ post.content }}
- {% else %}
- {{ post.excerpt }}
-
- Read more >
- {% endif %}
-
-
- {% endfor %}
-
-
-
- {% include news_sidebar.html %}
-
-
-
-
diff --git a/_i18n/en/packages/footer_text.html b/_i18n/en/packages/footer_text.html
new file mode 100644
index 000000000..8ec2e4dcd
--- /dev/null
+++ b/_i18n/en/packages/footer_text.html
@@ -0,0 +1,3 @@
+See
+
+ here for how to get your project listed.
diff --git a/_i18n/en/packages/fpm_footer.html b/_i18n/en/packages/fpm_footer.html
new file mode 100644
index 000000000..ad00b5c4f
--- /dev/null
+++ b/_i18n/en/packages/fpm_footer.html
@@ -0,0 +1,4 @@
+See
+
+ here to find out more about the fpm registry
+and how you can get your fpm compatible package listed.
diff --git a/_i18n/en/packages/index.html b/_i18n/en/packages/index.html
deleted file mode 100644
index fb16fa52d..000000000
--- a/_i18n/en/packages/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
- Find a Package
-
-
-
-
-
-
-
- Package Index
-
- The fortran-lang package index is community-maintained and
- lists open source Fortran-related projects.
- This includes large-scale scientific applications,
- function libraries, Fortran interfaces, and developer tools.
-
-
- See
-
- here for how to get your project listed.
-
-
- Use the box above to search the package index by keyword, package name, or author username.
-
-
-
-
-
-
-
-
-
-
-
- Browse Packages by Category
-
-
-
-
-
- {% for sitePage in site.pages %}
-
- {% if sitePage.code_category %}
- {% if sitePage.code_category != 'preview' %}
-
-
- {{ sitePage.description }}
-
- {% endif %}
- {% endif %}
-
- {% endfor%}
-
-
-
-
-
-
-
-
- See
-
- here for how to get your project listed.
-
-
-
-
-
diff --git a/_i18n/en/packages/package_index.html b/_i18n/en/packages/package_index.html
new file mode 100644
index 000000000..cb29d9f58
--- /dev/null
+++ b/_i18n/en/packages/package_index.html
@@ -0,0 +1,16 @@
+
+ Package Index
+
+The fortran-lang package index is community-maintained and
+lists open source Fortran-related projects.
+This includes large-scale scientific applications,
+function libraries, Fortran interfaces, and developer tools.
+
+
+See
+
+ here for how to get your project listed.
+
+
+Use the box above to search the package index by keyword, package name, or author username.
+
diff --git a/_i18n/en/packages/search.html b/_i18n/en/packages/search.html
deleted file mode 100644
index 9e94b7f03..000000000
--- a/_i18n/en/packages/search.html
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
- Packages / {{page.title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See
-
- here for how to get your project listed.
-
-
-
diff --git a/_layouts/code_category.html b/_layouts/code_category.html
index d1494a865..ef9d42c91 100644
--- a/_layouts/code_category.html
+++ b/_layouts/code_category.html
@@ -94,7 +94,7 @@
- {% t packages.footer_text %}
+ {% tf packages/footer_text.html %}
diff --git a/community/index.html b/community/index.html
index f98acf8da..36ce93655 100644
--- a/community/index.html
+++ b/community/index.html
@@ -7,4 +7,123 @@
{% capture active %}{% t nav_key.community %}{% endcapture %}
{% include nav.html active=community %}
-{% tf community/index.html %}
+
+
+
+
+ {% t community.header %}
+
+
+
+
+
+
+
+
+
+
+
+
+ Get Involved
+
+
+ {% tf community/join_the_discussion.html %}
+
+
+
+ {% tf community/build_and_test.html %}
+
+
+
+
+
+ {% tf community/contributor_guide.html %}
+
+
+
+ {% tf community/community_conduct.html %}
+
+
+
+
+
+
+
+ {% tf community/fortran_lang_contributors.html %}
+
+
+
+
+
+
+
diff --git a/learn/index.html b/learn/index.html
index 4f5e7ceb8..76a5dc7b1 100644
--- a/learn/index.html
+++ b/learn/index.html
@@ -7,4 +7,107 @@
{% capture active %}{% t nav_key.learn %}{% endcapture %}
{% include nav.html active=active %}
-{% tf learn/index.html %}
+
+
+
+
+ {% t learn.getting_started %}
+
+
+
+
+
+
+
+
+
+
+
+
+ {% t mini_book_tutorials %}
+
+ {% for category in site.data.learning.categories %}
+
+
+ {% if category.fa-icon %}
+
+ {% endif %}
+ {{ category.name }}
+
+
+ {% assign catBooks = site.data.learning.books | where_exp:"book", "book.category == category.name"%}
+
+ {% for book in catBooks %}
+
+
+ {{ book.description }}
+
+ {% endfor %}
+
+
+ {% endfor %}
+
+
+
+
+
+
+
+
+ {% t learn.other_resources %}
+
+ {% t learn.on_the_web %}
+
+
+ {% for refLink in site.data.learning.reference-links %}
+ -
+
+ {{ refLink.name }}
+
+ {{ refLink.description }}
+
+ {% endfor %}
+
+
+
+ {% t learn.in_print %}
+
+
+ {% assign refBooks = site.data.learning.reference-books | sort: "year" | reverse %}
+ {% for refBook in refBooks %}
+ -
+ {{ refBook.author }}. {{ refBook.year }}.
+
+ {{ refBook.title }}
+ .
+ {{ refBook.edition }}.
+ {{ refBook.location }}.
+ {{ refBook.publisher }}
+
+ {% endfor %}
+
+
+
+
+
diff --git a/news/archive.html b/news/archive.html
index 9ad5011c5..6929c4560 100644
--- a/news/archive.html
+++ b/news/archive.html
@@ -6,4 +6,24 @@
{% capture active %}{% t nav_key.news %}{% endcapture %}
{% include nav.html active=active %}
-{% tf news/archive.html %}
+
+
+
+
+
+
+ {% assign postsByYearMonth = site.categories.newsletter | group_by_exp:"post", "post.date | date: '%B %Y'" %}
+ {% for yearMonth in postsByYearMonth %}
+ {{ yearMonth.name }}
+
+ {% endfor %}
+
+
+
+
+
diff --git a/news/index.html b/news/index.html
index 5904a3122..81a876998 100644
--- a/news/index.html
+++ b/news/index.html
@@ -6,4 +6,44 @@
{% capture active %}{% t nav_key.news %}{% endcapture %}
{% include nav.html active=active %}
-{% tf news/index.html %}
+
+
+
+
+ {% for post in site.categories.newsletter limit:5 %}
+
+ {{ post.title }}
+
+
+ {{ post.date | date: "%d %B %Y" }}
+ {% if post.author %}
+ {% t news.authors %}: {{ post.author }}
+ {% endif %}
+
+
+ {% if post.title == site.categories.newsletter.first.title %}
+ {{ post.content }}
+ {% else %}
+ {{ post.excerpt }}
+
+ {% t news.read_more %} >
+ {% endif %}
+
+
+ {% endfor %}
+
+
+
+ {% include news_sidebar.html %}
+
+
+
+
+
+
+
+ {% t news.see_archive %}
+
+
+
+
diff --git a/packages/category/fpm.html b/packages/category/fpm.html
index 78b2dab24..cc0151441 100644
--- a/packages/category/fpm.html
+++ b/packages/category/fpm.html
@@ -75,7 +75,7 @@ {% t packages.fpm_packages %}
- {% t packages.fpm_footer_text %}
+ {% tf packages/fpm_footer.html %}
diff --git a/packages/index.html b/packages/index.html
index 829bf70a3..0c10eefd9 100644
--- a/packages/index.html
+++ b/packages/index.html
@@ -7,4 +7,74 @@
{% capture active %}{% t nav_key.packages %}{% endcapture %}
{% include nav.html active=active %}
-{% tf packages/index.html %}
+
+
+
+
+ {% t packages.find_a_package %}
+
+
+
+
+
+
+ {% tf packages/package_index.html %}
+
+
+
+
+ {% t packages.featured_topics %}
+
+
+
+
+
+
+
+
+
+ {% t packages.browse %}
+
+
+
+ {% for sitePage in site.pages %}
+
+ {% if sitePage.code_category %}
+ {% if sitePage.code_category != 'preview' %}
+
+
+ {{ sitePage.description }}
+
+ {% endif %}
+ {% endif %}
+
+ {% endfor%}
+
+
+
+
+
+
+
+ {% tf packages/footer_text.html %}
+
+
+
diff --git a/packages/search.html b/packages/search.html
index b40b4edb8..c9e72c000 100644
--- a/packages/search.html
+++ b/packages/search.html
@@ -6,4 +6,32 @@
{% capture active %}{% t nav_key.packages %}{% endcapture %}
{% include nav.html active=active %}
-{% tf packages/search.html %}
+
+
+
+
+
+
+
+ {% tf packages/footer_text.html %}
+
+
+
+
From a4b7f294216f9e57decd5fbf92271bdd216e9b55 Mon Sep 17 00:00:00 2001
From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
Date: Sun, 14 Feb 2021 16:52:32 +0100
Subject: [PATCH 07/24] Localize page titles
---
_config.yml | 2 ++
_i18n/en.yml | 56 +++++++++++++++++++++++++++++-
_includes/nav.html | 4 +--
_layouts/code_category.html | 2 +-
_layouts/default.html | 21 +++++------
_layouts/page.html | 2 +-
community/index.html | 8 ++---
compilers.md | 4 +--
index.html | 2 +-
learn/index.html | 12 +++----
news/archive.html | 2 +-
news/index.html | 2 +-
packages/category/data-types.html | 4 +--
packages/category/examples.html | 4 +--
packages/category/fpm.html | 4 +--
packages/category/graphics.html | 4 +--
packages/category/interfaces.html | 4 +--
packages/category/io.html | 4 +--
packages/category/libraries.html | 4 +--
packages/category/numerical.html | 4 +--
packages/category/programming.html | 4 +--
packages/category/scientific.html | 4 +--
packages/category/strings.html | 4 +--
packages/index.html | 10 +++---
packages/search.html | 4 +--
25 files changed, 116 insertions(+), 59 deletions(-)
diff --git a/_config.yml b/_config.yml
index 0ae82ee5f..beb0aa7e6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -14,6 +14,8 @@ news:
url: "https://fortran-lang.org"
+exclude_from_localizations: ["assets"]
+
plugins:
- jekyll-multiple-languages-plugin
diff --git a/_i18n/en.yml b/_i18n/en.yml
index 5505d02ba..1b4ac454d 100644
--- a/_i18n/en.yml
+++ b/_i18n/en.yml
@@ -26,6 +26,61 @@ global:
of core fortran-lang.org projects (stdlib, fpm), and get
the latest news.
+page:
+ home:
+ title: Home
+ learn:
+ title: Learn Fortran
+ description: Learning resources for beginners and experts alike
+ news:
+ title: News
+ archive:
+ title: News archive
+ compilers:
+ title: Fortran Compilers
+ community:
+ title: Fortran-lang Community
+ description: Collaboration for the advancement of Fortran
+ packages:
+ title: Fortran Packages
+ description: A rich ecosystem of high-performance code
+ search:
+ title: Search
+ category:
+ data-types:
+ title: Data types and containers
+ description: Libraries for advanced data types and container classes
+ examples:
+ title: Examples and templates
+ description: Demonstration codes and templates for Fortran
+ fpm:
+ title: FPM Registry Packages
+ description: Packages listed in the fpm-registry
+ graphics:
+ title: Graphics, plotting and user interfaces
+ description: Libraries for plotting data, handling images and generating user interfaces
+ interfaces:
+ title: Interface libraries
+ description: Libraries that interface with other systems, languages, or devices
+ numerical:
+ title: Numerical projects
+ description: Fortran libraries for linear algebra, optimization, root-finding etc.
+ programming:
+ title: Programming utilities
+ description: Error handling, logging, documentation and testing
+ scientific:
+ title: Scientific Codes
+ description: Applications and libraries for applied mathematical and scientific problems
+ strings:
+ title: Characters and strings
+ description: Libraries for manipulating characters and strings
+ io:
+ title: Input, output and parsing
+ description: Libraries for reading, writing and parsing files and inputs
+ libraries:
+ title: Libraries
+ description: Fortran libraries for general programming tasks
+
home:
tagline: High-performance parallel programming language
get_started: Get started
@@ -108,4 +163,3 @@ langs:
en: English
fr: French
de: German
-
diff --git a/_includes/nav.html b/_includes/nav.html
index 11cc05555..2e2ec7bd2 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -18,10 +18,10 @@
|