diff --git a/.cache/plugin/social/028ac987c08d3475a659f3f13d46b53c.png b/.cache/plugin/social/028ac987c08d3475a659f3f13d46b53c.png new file mode 100644 index 0000000..51bf794 Binary files /dev/null and b/.cache/plugin/social/028ac987c08d3475a659f3f13d46b53c.png differ diff --git a/.cache/plugin/social/30efd4b8a4312d9fb39b38850a19dbb3.png b/.cache/plugin/social/30efd4b8a4312d9fb39b38850a19dbb3.png new file mode 100644 index 0000000..60fd626 Binary files /dev/null and b/.cache/plugin/social/30efd4b8a4312d9fb39b38850a19dbb3.png differ diff --git a/.cache/plugin/social/fc79194b223da291039fd12bf45adca3.png b/.cache/plugin/social/fc79194b223da291039fd12bf45adca3.png new file mode 100644 index 0000000..37efd86 Binary files /dev/null and b/.cache/plugin/social/fc79194b223da291039fd12bf45adca3.png differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da29abd..3715d1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,12 @@ permissions: jobs: deploy: runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: 100go.co steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -24,3 +30,4 @@ jobs: - run: pip install mkdocs-material - run: pip install pillow cairosvg - run: mkdocs gh-deploy --force + - uses: actions/deploy-pages@v2 diff --git a/docs/index.md b/docs/index.md index 19d4db0..85cc648 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,7 @@ +--- +title: 100 Go Mistakes and How to Avoid Them +--- + # 📖 Book Presentation Source code and community space of _100 Go Mistakes and How to Avoid Them_, published by Manning in 2022. diff --git a/docs/jobs.md b/docs/jobs.md index 7ba5f26..b6b9e6c 100644 --- a/docs/jobs.md +++ b/docs/jobs.md @@ -1,3 +1,7 @@ +--- +title: Go Jobs +--- + # ❤️ Go Jobs Is your company hiring? [Sponsor](https://github.com/sponsors/teivah/sponsorships?sponsor=teivah&tier_id=316526&preview=true) this repository and let Go developers know your opportunities in this section (traffic: +400 unique visitor per week). diff --git a/docs/mistakes.md b/docs/mistakes.md index 282e9a6..babc949 100644 --- a/docs/mistakes.md +++ b/docs/mistakes.md @@ -1,3 +1,7 @@ +--- +title: Common Go Mistakes +--- + # 💡 Go Mistakes This section contains a summary of the 100 mistakes in the book. Meanwhile, it's also a section open to the community. If you believe that a mistake should be added, please create a [community mistake issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=). diff --git a/site/404.html b/site/404.html index 5462f7e..e5e6632 100644 --- a/site/404.html +++ b/site/404.html @@ -267,7 +267,7 @@ - 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them @@ -286,7 +286,7 @@ - ❤️ Go Jobs + Go Jobs @@ -305,7 +305,7 @@ - 💡 Go Mistakes + Common Go Mistakes diff --git a/site/assets/images/social/index.png b/site/assets/images/social/index.png index ca6e538..51bf794 100644 Binary files a/site/assets/images/social/index.png and b/site/assets/images/social/index.png differ diff --git a/site/assets/images/social/jobs.png b/site/assets/images/social/jobs.png index b00f0a3..37efd86 100644 Binary files a/site/assets/images/social/jobs.png and b/site/assets/images/social/jobs.png differ diff --git a/site/assets/images/social/mistakes.png b/site/assets/images/social/mistakes.png index e039f27..60fd626 100644 Binary files a/site/assets/images/social/mistakes.png and b/site/assets/images/social/mistakes.png differ diff --git a/site/chinese/index.html b/site/chinese/index.html index f55592b..1935734 100644 --- a/site/chinese/index.html +++ b/site/chinese/index.html @@ -297,7 +297,7 @@ - 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them @@ -316,7 +316,7 @@ - ❤️ Go Jobs + Go Jobs @@ -335,7 +335,7 @@ - 💡 Go Mistakes + Common Go Mistakes diff --git a/site/index.html b/site/index.html index f01793c..6d9e2c8 100644 --- a/site/index.html +++ b/site/index.html @@ -53,7 +53,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -134,7 +134,7 @@
- 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them
@@ -311,7 +311,7 @@ - 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them @@ -322,7 +322,7 @@ - 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them @@ -436,7 +436,7 @@ - ❤️ Go Jobs + Go Jobs @@ -455,7 +455,7 @@ - 💡 Go Mistakes + Common Go Mistakes diff --git a/site/jobs/index.html b/site/jobs/index.html index 38a6dd8..e453b95 100644 --- a/site/jobs/index.html +++ b/site/jobs/index.html @@ -55,7 +55,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -136,7 +136,7 @@
- ❤️ Go Jobs + Go Jobs
@@ -304,7 +304,7 @@ - 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them @@ -332,7 +332,7 @@ - ❤️ Go Jobs + Go Jobs @@ -352,7 +352,7 @@ - 💡 Go Mistakes + Common Go Mistakes diff --git a/site/mistakes/index.html b/site/mistakes/index.html index ac65b12..06ff180 100644 --- a/site/mistakes/index.html +++ b/site/mistakes/index.html @@ -55,7 +55,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -136,7 +136,7 @@
- 💡 Go Mistakes + Common Go Mistakes
@@ -304,7 +304,7 @@ - 📖 Book Presentation + 100 Go Mistakes and How to Avoid Them @@ -323,7 +323,7 @@ - ❤️ Go Jobs + Go Jobs @@ -351,7 +351,7 @@ - 💡 Go Mistakes + Common Go Mistakes @@ -362,7 +362,7 @@ - 💡 Go Mistakes + Common Go Mistakes diff --git a/site/sitemap.xml.gz b/site/sitemap.xml.gz index 7323843..f4a1323 100644 Binary files a/site/sitemap.xml.gz and b/site/sitemap.xml.gz differ