You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like you are using jekyll here? Have you taken a look at blogdown? It uses Hugo and is a much smoother experience rendering pages and so on. You never need to leave the R console. Documentation is excellent: https://bookdown.org/yihui/blogdown/ It might make it easier to have community contributions if it is as simple as possible to edit pages, etc. Just a thought!
We went the RStudio way here. Jekyll should not do anything. But as I look at it I see that there's no .nojekyll file yet. Should add this, I guess. Maybe that's what caused the trouble today in the afternoon, @MartinHinz?
I see, thanks. I wasn't familiar with that method, but now I see that it looks very easy and similar to blogdown. There is no Jekyll involved, my mistake.
Well - I guess we could as well change to blogdown, but what exactly would we win over the current setup?
I think there is rather an argument to be made to ditch R altogether and switch to a static system like docsify. That would make editing the page more easy. Could be done on github in the browser then.
What I like about static site generators (and we yeah could ditch the Rmd step and go with straight hugo or jekyll) is the tools for organising content. We could for example turn the current sections for sessions and meeting minutes into hugo archetypes, keeping the markdown content the same, and just as easy to edit, but getting a consistent layout, index pages, taxonomies, and a dated feed "for free".
I haven't used docsify, but it seems the ease of editing is about the same with any system based on markdown? It's R that's adding the extra step, and we probably don't really need it.
If you don't mind, maybe it's easier if I start a branch and prototype something so you can see what I mean.
Thank you for the proposal and the offer! I personally have only experience with Jekyll so far, but maybe Hugo is the choice? The archetype-thing sounds very interesting!
Btw, there were some complains about the color scheme of the current website, something to discuss at the next meeting!?
The main advantage I see is the automatic organisation into sections with a menu and indexes, which can be easily extended by just adding new md files and directories. We can also customise the way specific types of content display in lists and as a single view, see e.g. the members list.
For the sake of time I didn't replicate the style we're currently using, just picked an off-the-shelf hugo theme that's close to it. We can easily reproduce the old one or go with something else if that's what's preferred. Also note that the members list is no longer a tsv. It would be possible to get that functionality back by writing an R script that generates .md pages from a table, like Zack does with zackbatist/open-archaeo, although I don't think asking new members to "sign up" by creating a file for themselves in content/members/ would be that bad either?
Those should all be straightforward (and yes the first is just me being lazy with the config files and won't be there after merging). I can do them or if others want to try out the new system PRs to my fork are welcome!
Please add (or replace the available one) a quickstart guide to the README to explain how this hugo thing works in brief words. You should also explain the git submodule and how to get it.
Since we decided to go ahead with this at the last meeting, I'd like to tidy up the code and improve the presentation before we go live (including the items above, #37 and #38). Nothing major, but it will take me a few days before it's ready for a PR.
Thank you so much! From my perspective, these are all things that we can also implement once this version is merged. So, I would suggest to PR right away?
Activity
nevrome commentedon Mar 29, 2018
We went the RStudio way here. Jekyll should not do anything. But as I look at it I see that there's no .nojekyll file yet. Should add this, I guess. Maybe that's what caused the trouble today in the afternoon, @MartinHinz?
benmarwick commentedon Mar 29, 2018
I see, thanks. I wasn't familiar with that method, but now I see that it looks very easy and similar to blogdown. There is no Jekyll involved, my mistake.
joeroe commentedon Nov 6, 2020
As the website gets more complicated I also think we might consider blogdown. The workflow is basically the same, but will let us organise things into categories and e.g. easily render the meeting minutes as proper pages. There are some instructions for using blogdown with GitHub Pages here: https://bookdown.org/yihui/blogdown/github-pages.html.
nevrome commentedon Nov 8, 2020
Well - I guess we could as well change to blogdown, but what exactly would we win over the current setup?
I think there is rather an argument to be made to ditch R altogether and switch to a static system like docsify. That would make editing the page more easy. Could be done on github in the browser then.
joeroe commentedon Jan 11, 2021
What I like about static site generators (and we yeah could ditch the Rmd step and go with straight hugo or jekyll) is the tools for organising content. We could for example turn the current sections for sessions and meeting minutes into hugo archetypes, keeping the markdown content the same, and just as easy to edit, but getting a consistent layout, index pages, taxonomies, and a dated feed "for free".
I haven't used docsify, but it seems the ease of editing is about the same with any system based on markdown? It's R that's adding the extra step, and we probably don't really need it.
If you don't mind, maybe it's easier if I start a branch and prototype something so you can see what I mean.
nevrome commentedon Jan 11, 2021
Go ahead 👍 - I have no strong opinions how the content should be rendered.
MartinHinz commentedon Jan 11, 2021
Thank you for the proposal and the offer! I personally have only experience with Jekyll so far, but maybe Hugo is the choice? The archetype-thing sounds very interesting!
Btw, there were some complains about the color scheme of the current website, something to discuss at the next meeting!?
zackbatist commentedon Jan 11, 2021
Yeah, there were some concerns about accessibility for the website. I created issue #37 to track progress on that.
joeroe commentedon Jan 12, 2021
Okay I have a rough prototype using hugo (without R/blogdown) at http://joeroe.io/sslarch.github.io/. It's automatically built from https://github.com/joeroe/sslarch.github.io on push using a GitHub Action.
The main advantage I see is the automatic organisation into sections with a menu and indexes, which can be easily extended by just adding new md files and directories. We can also customise the way specific types of content display in lists and as a single view, see e.g. the members list.
For the sake of time I didn't replicate the style we're currently using, just picked an off-the-shelf hugo theme that's close to it. We can easily reproduce the old one or go with something else if that's what's preferred. Also note that the members list is no longer a tsv. It would be possible to get that functionality back by writing an R script that generates .md pages from a table, like Zack does with zackbatist/open-archaeo, although I don't think asking new members to "sign up" by creating a file for themselves in
content/members/would be that bad either?zackbatist commentedon Jan 12, 2021
Looks great to me! My only suggestion would be to add breadcrumbs to help determine the logical organization of the site and navigate accordingly.
joeroe commentedon Jan 13, 2021
@zackbatist Good idea. I've added them.
nevrome commentedon Jan 18, 2021
I love it. The layout is also fine for me. Some small suggestions, @joeroe (not necessarily to be implemented by you):
CAA/SSLA $icon in the top left still leads to your own homepage, @joeroe (maybe this is fixed automatically after merging?)membersshould not be ordered alphabetically, but according to their role: Convener - Vice Convener - Secretarysessionstab should get a better menu layoutjoeroe commentedon Jan 19, 2021
Those should all be straightforward (and yes the first is just me being lazy with the config files and won't be there after merging). I can do them or if others want to try out the new system PRs to my fork are welcome!
nevrome commentedon Jan 19, 2021
Please add (or replace the available one) a quickstart guide to the README to explain how this hugo thing works in brief words. You should also explain the git submodule and how to get it.
nevrome commentedon Jan 19, 2021
The idea should be to give people an immediate ability to develop without opening the hugo or git man pages.
joeroe commentedon Feb 3, 2021
Since we decided to go ahead with this at the last meeting, I'd like to tidy up the code and improve the presentation before we go live (including the items above, #37 and #38). Nothing major, but it will take me a few days before it's ready for a PR.
[-]consider blogdown[/-][+]Switch to hugo[/+]joeroe commentedon Mar 5, 2021
An update on the new site at http://joeroe.io/sslarch.github.io/ (source https://github.com/joeroe/sslarch.github.io):
As long as the group still approves, I think this is very close to being ready. There are just a few issues I haven't had time to fix yet:
MartinHinz commentedon Mar 5, 2021
Thank you so much! From my perspective, these are all things that we can also implement once this version is merged. So, I would suggest to PR right away?
nevrome commentedon Mar 5, 2021
Ja - let's merge and we fix it together in post-production 👍