Skip to content

Commit 3711ea6

Browse files
authored
Remove dates from permalink blog posts (#552)
1 parent 74bfacd commit 3711ea6

File tree

149 files changed

+669
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+669
-263
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
pip install -r requirements.txt
2929
python scripts/extract_org_logos.py
3030
31+
- name: Run pre-commit checks
32+
uses: pre-commit/[email protected]
33+
3134
- name: Setup Hugo
3235
uses: peaceiris/actions-hugo@v2
3336
with:

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,15 @@ repos:
55
- id: oxipng
66
# These are the recommended arguments in the oxipng repo
77
args: ["-o", "4", "--alpha", "--strip", "safe"]
8+
9+
- repo: local
10+
hooks:
11+
- id: add-blog-slugs
12+
name: Add slugs to blog posts
13+
entry: python scripts/add_slugs_to_blog_posts.py
14+
language: system
15+
files: ^content/blog/.*/index\.md$
16+
pass_filenames: false
17+
18+
ci:
19+
skip: [oxipng]

config/_default/hugo.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ footnotereturnlinkcontents: <sup>^</sup>
2828
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
2929
permalinks:
3030
authors: "/author/:slug/"
31+
blog: "/blog/:slug/"
3132
event: '/talk/:slug/'
3233
tags: '/tag/:slug/'
3334
categories: '/category/:slug/'
@@ -48,6 +49,14 @@ taxonomies:
4849
author: authors
4950
markup:
5051
_merge: deep
52+
goldmark:
53+
renderer:
54+
unsafe: true
55+
renderHooks:
56+
link:
57+
enableDefault: true
58+
image:
59+
enableDefault: true
5160
related:
5261
threshold: 80
5362
includeNewer: true
@@ -68,4 +77,4 @@ cascade:
6877
path: /collaborators/**
6978
params:
7079
profile: false
71-
show_date: false
80+
show_date: false

content/about/funding/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ show_date = false
44
[[funders]]
55
image = "/blog/2024/funding-czi/images/czi-logo.png"
66

7-
description = "The [Chan Zuckerberg Initiative ](https://chanzuckerberg.com/eoss/) has supported 2i2c with three awards over 2i2c's lifetime. In 2020, we received [~$1.4m over 3 years](/blog/2021/czi-core-support) to support capacity building in the Jupyter ecosystem for research and education. In 2022, we received [~$800K over two years](https://2i2c.org/blog/2022/czi-global-communities-announcement) to serve open cloud infrastructure to communities in Latin America and Africa. In 2024, we received [~700K over one year](/blog/2024/funding-czi) for core organizational support for 2i2c's mission."
7+
description = "The [Chan Zuckerberg Initiative ](https://chanzuckerberg.com/eoss/) has supported 2i2c with three awards over 2i2c's lifetime. In 2020, we received [~$1.4m over 3 years](blog/2021/czi-core-support/index.md) to support capacity building in the Jupyter ecosystem for research and education. In 2022, we received [~$800K over two years](blog/2022/czi-global-communities-announcement/index.md) to serve open cloud infrastructure to communities in Latin America and Africa. In 2024, we received [~700K over one year](blog/2024/funding-czi/index.md) for core organizational support for 2i2c's mission."
88

99
[[funders]]
1010
image = "/blog/2024/funding-navigation/images/tnf-logo.png"
1111

12-
description = "In 2024, we received [~$1.5M over 2 years from The Navigation Fund](/blog/2024/funding-navigation) to identify and build a scalable sustainability model for 2i2c."
12+
description = "In 2024, we received [~$1.5M over 2 years from The Navigation Fund](blog/2024/funding-navigation/index.md) to identify and build a scalable sustainability model for 2i2c."
1313

1414
[[funders]]
1515
image = "https://repository-images.githubusercontent.com/101820659/4fcdfc00-6c25-11e9-9e30-33a31a285450"
1616

17-
description = "In 2020, we received [$500,000 over two years](/blog/2021/pangeo-goes-live/) from [the Climate Data Lab](https://medium.com/pangeo/announcing-the-climate-data-science-lab-funded-by-the-moore-foundation-4bc4314ac02d) at Columbia University for managing and developing cloud infrastructure for [the Pangeo Project](https://pangeo.io)."
17+
description = "In 2020, we received [$500,000 over two years](blog/2021/pangeo-goes-live/index.md) from [the Climate Data Lab](https://medium.com/pangeo/announcing-the-climate-data-science-lab-funded-by-the-moore-foundation-4bc4314ac02d) at Columbia University for managing and developing cloud infrastructure for [the Pangeo Project](https://pangeo.io)."
1818

1919
[[funders]]
2020
image = "https://investinopen.org/content/images/2020/09/ioi-logo-sq-1.png"

content/blog/2021/css-announce/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 2i2c launches next phase in partnership with CS&S
3+
slug: "css-announce"
34
subtitle: ""
45
summary: ""
56
authors:

content/blog/2021/czi-core-support/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 2i2c receives core support from CZI
3+
slug: "czi-core-support"
34
subtitle: ""
45
summary: ""
56
authors:

content/blog/2021/data8-class/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 2i2c partners with UC Berkeley and CloudBank to provide data science education hubs for community colleges in California
3+
slug: "data8-class"
34
date: 2021-01-01
45
authors:
56
- Jenny Wong

content/blog/2021/hello-world/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Hello World
3+
slug: "hello-world"
34
subtitle: ""
45
summary: ""
56
authors:

content/blog/2021/pangeo-goes-live/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Pangeo Cloud goes live on 2i2c!
3+
slug: "pangeo-goes-live"
34
subtitle: ""
45
summary: "2i2c are pleased to announce that the first Pangeo JupyterHub is now live on 2i2c-operated infrastructure! :tada: "
56
authors:

content/blog/2021/q3-update/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Community update Q3 2021: A new fiscal sponsor, improving our infrastructure, nearing an alpha launch."
3+
slug: "2021-q3-update"
34
subtitle: ""
45
summary: ""
56
authors:

0 commit comments

Comments
 (0)