Skip to content

Organize blog entries by year#239

Merged
nate-double-u merged 1 commit intoetcd-io:docsyfrom
chalin:chalin-blog-2021-04-15
Apr 15, 2021
Merged

Organize blog entries by year#239
nate-double-u merged 1 commit intoetcd-io:docsyfrom
chalin:chalin-blog-2021-04-15

Conversation

@chalin
Copy link
Copy Markdown
Contributor

@chalin chalin commented Apr 15, 2021

Closes #140, if you are agreeable to the solution proposed in this PR

Preview: https://deploy-preview-239--etcd.netlify.app/blog/
Redirect test: https://deploy-preview-239--etcd.netlify.app/blog/jepsen-343-results/

/tag docsy
/milestone 21Q2-docsy
/reviewer @nate-double-u

@chalin
Copy link
Copy Markdown
Contributor Author

chalin commented Apr 15, 2021

The permalink for a blog entry will be derived from the path to file containing the entry. Hence, for our sole entry, it is /blog/2020/jepsen-343-results/ for a file found under /blog/2020/jepsen-343-results.md. This matches the pattern used by the current site.

To have the last part of the permalink be different from the filename, add a slug: entry to the front matter. For example:

slug: jepsen-343

@chalin chalin force-pushed the chalin-blog-2021-04-15 branch from 3f45efc to 662e309 Compare April 15, 2021 20:46
@chalin
Copy link
Copy Markdown
Contributor Author

chalin commented Apr 15, 2021

I've added notes to that effect to the front matter of /blog/_index.md.

@nate-double-u nate-double-u merged commit bad9e76 into etcd-io:docsy Apr 15, 2021
@nate-double-u nate-double-u mentioned this pull request Apr 15, 2021
2 tasks
@chalin chalin deleted the chalin-blog-2021-04-15 branch April 15, 2021 22:04
@nate-double-u nate-double-u added this to the 21Q2-docsy milestone Apr 15, 2021
nate-double-u pushed a commit that referenced this pull request Apr 26, 2021
* etcd.io docsy conversion, first pass at integrating etcd into a shell docsy themed hugo site (#112)

* New footer, and version-selector; fixes empty-hrefs (#207)

* Homepage tweaks (#209)

* Adjust titles, weights and landing pages for docs (#213)

* Homepage rework (#219)

* Link to etcd resources in footer (#229)

* Drop About from docsy MVP, and make link checker happy (#227)

* Etcd has graduated! (#230)

* Format next's landing page like all other doc vers landing pages (#231)

* Add etcd favicon (#232)

* [docsy] Show next version name as v3.5-DRAFT (#233)

* Add page warning for all doc version pages other than latest (#237)

* Organize blog entries by year (#239)

* Site 404 page (#240)

* Reinstate metrics (#242)

* Remove obsolete comment (#243)

Co-authored-by: Patrice Chalin <pchalin@gmail.com>
Co-authored-by: Nate W <4453979+nate-double-u@users.noreply.github.com>

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
NotAwar pushed a commit to NotAwar/website that referenced this pull request Feb 27, 2025
* etcd.io docsy conversion, first pass at integrating etcd into a shell docsy themed hugo site (etcd-io#112)

* New footer, and version-selector; fixes empty-hrefs (etcd-io#207)

* Homepage tweaks (etcd-io#209)

* Adjust titles, weights and landing pages for docs (etcd-io#213)

* Homepage rework (etcd-io#219)

* Link to etcd resources in footer (etcd-io#229)

* Drop About from docsy MVP, and make link checker happy (etcd-io#227)

* Etcd has graduated! (etcd-io#230)

* Format next's landing page like all other doc vers landing pages (etcd-io#231)

* Add etcd favicon (etcd-io#232)

* [docsy] Show next version name as v3.5-DRAFT (etcd-io#233)

* Add page warning for all doc version pages other than latest (etcd-io#237)

* Organize blog entries by year (etcd-io#239)

* Site 404 page (etcd-io#240)

* Reinstate metrics (etcd-io#242)

* Remove obsolete comment (etcd-io#243)

Co-authored-by: Patrice Chalin <pchalin@gmail.com>
Co-authored-by: Nate W <4453979+nate-double-u@users.noreply.github.com>

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants