-
Notifications
You must be signed in to change notification settings - Fork 53
migrate website to hugo #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rename news rename lede_author first line add second line fix news section fix blog posts improve content move stuff move stuff various fixes improve layouts layout fixes update homepage remove non-working script fix title more image fixes fix some links improve about section replace {article.title} with hugo shortcodes standardize markdown images move layouts to theme, intial authors migration update readme improve list pages fix fonts add read more link to list pages fix navbar update homepage add footer improve templates make all ledes responsive (not committing resources dir) make tags works fix install images add github action rename action, only build on non-master deploy to netlify rename jobs fix summaries add pagination to blog, news add legacy wordpress comments add search update readme add center css class to support shortcode
|
I've spent about the last 2 hours looking over this with the current site and your port side by side, and damn, this is impressive. |
hey @robbymilo what's happening? 👯 |
@paperdigits hoping to find some time to work on this soon. |
Here is a preview for the |
@robbymilo I'm stupid, but I pushed a few commits to https://github.com/darktable-org/dtorg/tree/robbymilo-robbymilo/hugo Is the option enabled in github so I can push commits (as a maintainer) to this PR? |
@paperdigits I added you as a maintainer to https://github.com/robbymilo/dtorg - does that work? |
Yes, that should work, thanks!
On March 22, 2021 11:04:51 AM PDT, Robby Milo ***@***.***> wrote:
***@***.*** I added you as a maintainer to
…
https://github.com/robbymilo/dtorg - does that work?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#123 (comment)
|
@robbymilo doh! I didn't accept the invitation soon enough... would you be kind enough to send me another? |
@paperdigits sent! |
I think as far as the hugo stuff goes, we're almost done. Last thing is: handle posts with different slugs - I'd want to use the alias feature from hugo. Then we just need to look at pages/posts to ensure the markdown rendering looks good. And run a link checker. The last few things we'll need to do with the webserver, like redirecting the RSS feeds. |
This is impressive work, indeed! I can't thank you enough @robbymilo for all of this work! 😄 I just pulled the site and things look really great locally with Hugo. |
@patdavid I think you can range through |
@robbymilo I was thinking of the existing site first, actually. I wanted to get all releveant URL's from the existing site to make sure there was a corresponding match in your port (and if there wasn't, to include a redirect frontmatter so hugo can redirect any old links to the correct slug/location). |
@patdavid I've added a command (https://github.com/robbymilo/dtorg/blob/robbymilo/hugo/Makefile#L39) that takes all the .html files from the output folder of the current site, and then lists them in https://github.com/robbymilo/dtorg/blob/robbymilo/hugo/output.csv. Note you need to run the command in the main repo, not my fork. |
I think this is done. @patdavid can you think of anything else? If you or @robbymilo wants to make a last sanity check, please do! |
Can we cherry pick those into the hugo branch? |
@robbymilo I rebased this on master and resolved the conflicts, if you want to take a look at https://github.com/darktable-org/dtorg/tree/hugo I couldn't figure out how to push that to this PR, and probably better I didn't since it rewrites history. |
@paperdigits the 3.6 blog post needs Edit: I've pushed a fix for this to the hugo branch now |
Initial port of the darktable website to hugo. See #113 for background.
I've been able to convert most of the markdown and layout files to a hugo compatible format. There are numerous ways to accomplish things with hugo, so I'd love recommendations if there's a better/easier way to do something here.
Notes:
0.83.1
To-do list for parity with the current website:
slug
param with the proper value. For example, the current site renders as /2020/08/darktable-321-released/, but hugo renders as /2020/08/darktable-3.2.1-released/To test locally:
make server
and navigate to localhost:1313Feel free to add to the to-do list, or even better a to-do and solution :)
cc @paperdigits