Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #461 from 30-seconds/restructure-configs
Browse files Browse the repository at this point in the history
Restructure content
  • Loading branch information
Chalarangelo committed May 7, 2023
2 parents 4a49890 + 1b42c3d commit 01fc991
Show file tree
Hide file tree
Showing 63 changed files with 1,194 additions and 3,889 deletions.
32 changes: 1 addition & 31 deletions .gitmodules
@@ -1,35 +1,5 @@
[submodule "content/sources/30python"]
path = content/sources/30python
url = https://github.com/30-seconds/30-seconds-of-python
branch = master
update = checkout
[submodule "content/sources/30code"]
path = content/sources/30code
path = content
url = https://github.com/30-seconds/30-seconds-of-code
branch = master
update = checkout
[submodule "content/sources/30css"]
path = content/sources/30css
url = https://github.com/30-seconds/30-seconds-of-css
branch = master
update = checkout
[submodule "content/sources/30react"]
path = content/sources/30react
url = https://github.com/30-seconds/30-seconds-of-react
branch = master
update = checkout
[submodule "content/sources/30blog"]
path = content/sources/30blog
url = https://github.com/30-seconds/30-seconds-blog
branch = master
update = checkout
[submodule "content/configs"]
path = content/configs
url = https://github.com/30-seconds/30-seconds-content
branch = master
update = checkout
[submodule "content/sources/30git"]
path = content/sources/30git
url = https://github.com/30-seconds/30-seconds-of-git
branch = master
update = checkout
1 change: 1 addition & 0 deletions content
Submodule content added at 22e756
1 change: 0 additions & 1 deletion content/configs
Submodule configs deleted from 09a30a
1 change: 0 additions & 1 deletion content/sources/30blog
Submodule 30blog deleted from 40028e
1 change: 0 additions & 1 deletion content/sources/30code
Submodule 30code deleted from 65e2ec
1 change: 0 additions & 1 deletion content/sources/30css
Submodule 30css deleted from cf2a2b
1 change: 0 additions & 1 deletion content/sources/30git
Submodule 30git deleted from 20e149
1 change: 0 additions & 1 deletion content/sources/30python
Submodule 30python deleted from 3390ba
1 change: 0 additions & 1 deletion content/sources/30react
Submodule 30react deleted from 4b9d22
30 changes: 30 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -33,6 +33,7 @@
"remark-gfm": "^1.0.0",
"sass": "^1.58.3",
"sharp": "^0.31.3",
"unist-util-select": "3.0.4",
"unist-util-visit": "^2.0.3",
"unist-util-visit-parents": "^3.1.1",
"webfonts-generator": "^0.4.0"
Expand Down
14 changes: 11 additions & 3 deletions public/_redirects
Expand Up @@ -40,10 +40,18 @@
# SORTED LISTING PAGE REDIRECTS:
#
# * Redirect alternative sorting listings to page 1 of the dedicated listing.
# * Redirect articles listings to page 1 of the relevant snippet listing.
# -----------------------------------------------------------------------------
/blog/n/* /articles/p/1 301!
/blog/e/* /articles/p/1 301!
/blog/a/* /articles/p/1 301!
/blog/n/* /list/p/1 301!
/blog/e/* /list/p/1 301!
/blog/a/* /list/p/1 301!
/blog/p/* /list/p/1 301!
/artiles/p/* /list/p/1 301!
/articles/t/css/* /css/p/1 301!
/articles/t/javascript/* /js/p/1 301!
/articles/t/python/* /python/p/1 301!
/articles/t/react/* /react/p/1 301!
/articles/t/webdev/* /c/web-development/:splat 301!
/list/e/* /list/p/1 301!
/list/a/* /list/p/1 301!
/:lang/a/* /:lang/p/1 301!
Expand Down

0 comments on commit 01fc991

Please sign in to comment.