Closed peterdesmet closed 1 year ago
@baskaufs conflicts resolved.
Now that the files are in directories reflecting their path, it is no longer necessary to define/hardcode the permalink
for each one, so I have removed those. That way we don't have conflicting information. We do the same for Darwin Core.
The URLs will remain the same for all index.md
files. For the versioned pages, the URL will change from:
introduction/2013-10-23 -> introduction/2013-10-23.html
But the effect in the browser is the same and the pages can be found at either URL. Note that the original permalinks did not have an ending slash, which would have been a breaking change.
OK, great. Simpler is better. As long as the URLs without trailing slashes dereference, it's all good.
Site is now live at https://ac.tdwg.org/
I do notice an rs.tdwg.org redirection error, but will create a separate issue for that.
@peterdesmet Beautiful! Thanks so much for getting this done!
This PR implements #250. It does not include any changes to the standard itself.
Updates to make use of new design
_config.yml
_data/navigation.yml
and include some horizontal lines in dropdowns for better separation of content that belongs togetherDropdown
@baskaufs I made a change to the dropdown menu for terms, so it is clearer to read. The titles of the pages themselves have not been changed (though some are quite long).
Before:
After:
Versioned pages
@baskaufs you mentioned in https://github.com/tdwg/ac/issues/250#issuecomment-1448333302:
That is true, but the reason that doesn't work for the AC ones is not because of the directory structure, but because their frontmatter metadata all had the non-versioned
permalink
(i.e. multiple pages with same permalink) and were therefore not accessible. Except for two pages which have the correct permalink:https://ac.tdwg.org/structure/2013-10-23 https://ac.tdwg.org/termlist/2013-10-23
I've now set versioned permalinks for all. @baskaufs, you're still welcome to organize pages in directories, so the permalink is automatically picked up from the directory organization.
Sitemap
Preview