diff --git a/.gitignore b/.gitignore index 3ebba20..40b5206 100644 --- a/.gitignore +++ b/.gitignore @@ -64,4 +64,4 @@ node_modules/ # dotenv environment variables file .env -public \ No newline at end of file +public diff --git a/.gitmodules b/.gitmodules index eab4edf..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "themes/elate"] - path = themes/elate - url = https://github.com/saey55/hugo-elate-theme diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..28951df --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# Women Who Go Tokyo Webpage + +Women Who Go Tokyo のサイトです。Hugo + Cloudflare (Workers & Pages) で構築されています。 + +## ローカル開発手順 + +```bash +# 依存モジュール取得 (初回/更新時) +hugo mod tidy + +# 開発サーバ起動 +hugo server -w -D +# ブラウザ: http://localhost:1313/ +``` + +## デプロイ + +Cloudflare (Workers & Pages)でビルド・デプロイしています。 + +PRをマージすると本番デプロイされます。PRごとに期限付きのプレビューが作成されます。 diff --git a/config.toml b/config.toml index f661c97..7fff535 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,20 @@ -baseURL = "localhost:1313" +baseURL = "https://web.womenwhogo.tokyo/" languageCode = "ja" title = "Women Who Go Tokyo" -theme = "elate" +theme = "github.com/saey55/hugo-elate-theme" + +enableRobotsTXT = true +canonifyURLs = true +defaultContentLanguage = "ja" + +[module] +[module.hugoVersion] +min = "0.152.0" +extended = true + +[markup] +[markup.goldmark.renderer] +unsafe = true [params] custom_css = ["css/custom.css"] @@ -10,104 +23,326 @@ theme = "elate" description = "Women Who Go Tokyo は、サンフランシスコ発祥の女性とジェンダーマイノリティの人々があつまる Go 言語のコミュニティである Women Who Go の東京支部です。" email = "micchie@womenwhogo.tokyo" - # Google Maps Javascript API Key (if not set will default to not passing a key) - googleMapsApiKey = "" +# Google Maps Javascript API Key (if not set will default to not passing a key) +googleMapsApiKey = "" [params.navigation] - brand = "Women Who Go Tokyo" - home = "Home" - work = "Labs" - testimonials = "Books" - services = "Code of Conduct" - about = "Team" - contact = "Special Thanks" +brand = "Women Who Go Tokyo" +home = "Home" +work = "Labs" +testimonials = "Books" +services = "Code of Conduct" +about = "Team" +contact = "Special Thanks" [params.hero] - title = "Women Who Go Tokyo" - subtitle = 'Women Who Go Tokyo は、サンフランシスコ発祥の女性とジェンダーマイノリティの人々があつまる Go 言語のコミュニティである Women Who Go の東京支部です。' +title = "Women Who Go Tokyo" +subtitle = 'Women Who Go Tokyo は、サンフランシスコ発祥の女性とジェンダーマイノリティの人々があつまる Go 言語のコミュニティである Women Who Go の東京支部です。' [params.intro] [[params.intro.item]] - title = "" - description = "Women Who Go Tokyo is the Tokyo chapter of the San Francisco-based Go community for women and gender minorities." - url = "" - button = "" - icon = "icon-bulb" - img = "img_8.jpg" +title = "" +description = "Women Who Go Tokyo is the Tokyo chapter of the San Francisco-based Go community for women and gender minorities." +url = "" +button = "" +icon = "icon-bulb" +img = "img_8.jpg" [[params.intro.item]] - title = "Women Who Go Tokyo" - description = "Goに関する本の読書会を毎週〜隔週で行っています。" - url = "https://womenwhogo-tokyo.connpass.com/" - button = "イベントを確認する" - icon = "icon-rocket" - img = "img_10.jpg" +title = "Women Who Go Tokyo" +description = "Goに関する本の読書会を毎週〜隔週で行っています。" +url = "https://womenwhogo-tokyo.connpass.com/" +button = "イベントを確認する" +icon = "icon-rocket" +img = "img_10.jpg" [[params.intro.item]] - title = " " - description = "We have weekly to bi-weekly book readings on Go." - url = "" - button = "" - icon = "icon-wrench" - img = "img_10.jpg" +title = " " +description = "We have weekly to bi-weekly book readings on Go." +url = "" +button = "" +icon = "icon-wrench" +img = "img_10.jpg" [params.intro.video] - enable = false - title = "Women Who Go Tokyo#39 家計簿アプリをつくろう STEP01〜03" - icon = "icon-play2" - url = "https://youtu.be/hK1MW4ypNp0" - - # Work section - [params.work] - enable = true - title = "Labs" - description = 'Women Who Go Tokyo の運営メンバによって作られた Go のコードラボを公開しています。作成された時期によっては情報が古い可能性があります。' - footertext = 'https://github.com/WomenWhoGoTokyo/codelab/issues' - annotation = '何か問題や間違いを発見した場合は、Issue を起票してご連絡ください。' - - [[params.work.row]] - img = "codelab_1.jpg" - alt = "Google Cloud Shell で Go の開発をはじめよう" - title = "Google Cloud Shell" - subtitle = "Google Cloud Shell で Go の開発をはじめよう" - url = "https://womenwhogotokyo.github.io/codelab/google-cloud-shell-go/?index=codelab#0" - - [[params.work.row]] - img = "codelab_2.jpg" - alt = "Google App Engine で Go を動かしてみよう" - title = "Google App Engine/Go" - subtitle = "Google App Engine で Go を動かしてみよう" - url = "https://womenwhogotokyo.github.io/codelab/google-app-engine-go/?index=codelab#0" - - [[params.work.row]] - img = "codelab_3.jpg" - alt = "Google Cloud Functions で Go を動かしてみよう" - title = "Google Cloud Functions/Go" - subtitle = "Google Cloud Functions で Go を動かしてみよう" - url = "https://womenwhogotokyo.github.io/codelab/google-cloud-functions-go/?index=codelab#0" - - [[params.work.row]] - img = "codelab_4.jpg" - alt = "Go の並行処理を体験してみよう" - title = "Concurrency in Go" - subtitle = "Go の並行処理を体験してみよう" - url = "https://womenwhogotokyo.github.io/codelab/tutorial-concurrency-go/?index=codelab#0" - - [[params.work.row]] - img = "codelab_5.png" - alt = "数で遊ぼう" - title = "Play with number" - subtitle = "コマンドラインツールで数を操る" - url = "https://womenwhogotokyo.github.io/codelab/play-with-number/?index=codelab#0" - - [[params.work.row]] - img = "codelab_6.jpg" - alt = "初めて編む Gopher" - title = "The First Gopher Amigurumi" - subtitle = "初めて編む Gopher" - url = "https://womenwhogotokyo.github.io/codelab/gopher-amigurumi/ja/?index=codelab#0" +enable = false +title = "Women Who Go Tokyo#39 家計簿アプリをつくろう STEP01〜03" +icon = "icon-play2" +url = "https://youtu.be/hK1MW4ypNp0" + +# Work section +[params.work] +enable = true +title = "Labs" +description = 'Women Who Go Tokyo の運営メンバによって作られた Go のコードラボを公開しています。作成された時期によっては情報が古い可能性があります。' +footertext = 'https://github.com/WomenWhoGoTokyo/codelab/issues' +annotation = '何か問題や間違いを発見した場合は、Issue を起票してご連絡ください。' + +[[params.work.row]] +img = "codelab_1.jpg" +alt = "Google Cloud Shell で Go の開発をはじめよう" +title = "Google Cloud Shell" +subtitle = "Google Cloud Shell で Go の開発をはじめよう" +url = "https://womenwhogotokyo.github.io/codelab/google-cloud-shell-go/?index=codelab#0" + +[[params.work.row]] +img = "codelab_2.jpg" +alt = "Google App Engine で Go を動かしてみよう" +title = "Google App Engine/Go" +subtitle = "Google App Engine で Go を動かしてみよう" +url = "https://womenwhogotokyo.github.io/codelab/google-app-engine-go/?index=codelab#0" + +[[params.work.row]] +img = "codelab_3.jpg" +alt = "Google Cloud Functions で Go を動かしてみよう" +title = "Google Cloud Functions/Go" +subtitle = "Google Cloud Functions で Go を動かしてみよう" +url = "https://womenwhogotokyo.github.io/codelab/google-cloud-functions-go/?index=codelab#0" + +[[params.work.row]] +img = "codelab_4.jpg" +alt = "Go の並行処理を体験してみよう" +title = "Concurrency in Go" +subtitle = "Go の並行処理を体験してみよう" +url = "https://womenwhogotokyo.github.io/codelab/tutorial-concurrency-go/?index=codelab#0" + +[[params.work.row]] +img = "codelab_5.png" +alt = "数で遊ぼう" +title = "Play with number" +subtitle = "コマンドラインツールで数を操る" +url = "https://womenwhogotokyo.github.io/codelab/play-with-number/?index=codelab#0" + +[[params.work.row]] +img = "codelab_6.jpg" +alt = "初めて編む Gopher" +title = "The First Gopher Amigurumi" +subtitle = "初めて編む Gopher" +url = "https://womenwhogotokyo.github.io/codelab/gopher-amigurumi/ja/?index=codelab#0" # Testimonials section +[params.testimonials] +enable = true +title = "Books" +description = "技術書典で頒布した電子書籍を販売しています。" + +[[params.testimonials.item]] +quote = "“また出ました!夏を涼しく過ごすための爽やかな Go 本です。”" +person = 'Goでちょっとひといき ¥ 1,000' +img = "book_1.png" +alt = "Goでちょっとひといき" +url = "https://techbookfest.org/product/5127270203129856?productVariantID=5036058678919168" + +[[params.testimonials.item]] +quote = "“Women Who Go Tokyo は、Go を楽しむためのコンテンツを用意しています。しかし、コンテ ンツを楽しむためは、いくつかの準備が必要になります。そのコンテンツを楽しむための準備、スタート地点となれるような本を無料で用意しました。”" +person = 'Go Starter Book ¥ 0' +img = "book_2.png" +alt = "Go Starter Book" +url = "https://techbookfest.org/product/6027682022162432?productVariantID=5061460677885952" + +[[params.testimonials.item]] +quote = "“Goでいっぱいの実用的なあたたかい本をお届けします。なんと!おとうふくんの漫画入り!必読です!”" +person = 'コタツと蜜柑とゴーファーとわたし ¥ 1,150' +img = "book_3.png" +alt = "コタツと蜜柑とゴーファーとわたし" +url = "https://techbookfest.org/product/5085406250926080?productVariantID=5123941720915968" + +# Services section: Code of Conduct +[params.services] +enable = true +title = "Code of Conduct" +description = "わたしたちは、Women Who Go Tokyo コミュニティの安心・安全のため、次の規範を作成しました。行動規範に違反するような行為を発見した場合は、イベントやコミュニティからの退出を求めます。" +footertext = 'この行動規範は、[Go Community Code of Conduct](https://golang.org/conduct) をもとに作成しました。' + + +[[params.services.item]] +title = "多くの人々を温かく迎え入れます" +description = "性別上マイノリティであるというだけで、イベントやコミュニティに参加する際に不安を感じるような状況をなくします男性を排除することは私たちの目的ではありません。" +icon = "icon-bullhorn" + +[[params.services.item]] +title = "思慮深く、そして敬意を持ちます" +description = "わたしたちは、言葉遣いに気をつけ、コメントする前に今一度内容を振り返ります。すべての意見を尊重し、個人や団体に対する非生産的、攻撃的なコメントはしません。" +icon = "icon-sun" + +[[params.services.item]] +title = "寛大であります" +description = "他の人の意見の違いを尊重します。異議がある場合も、その人の主張を理解しようと努め、何かしら良い方に進められるような提案をします。" +icon = "icon-heart" + +[[params.services.item]] +title = "不適切と思われる発言・行為を許可しません" +description = "性的・暴力的・侮辱的・中傷的・差別的な言葉や画像の使用を許可しません。また、あらゆるハラスメント行為も許可しません。また、許可なく他者の個人情報を公開することも行いません。" +icon = "icon-bomb" + +# About section: Team +[params.about] +enable = true +title = "Team" +description = "Women Who Go Tokyo の運営に携わるチームメンバを紹介します。" + +[[params.about.item]] +name = "mom0tomo" +position = "Organizer, Gopher" +description = "インフラエンジニア・DX担当をしています。micchie さんに誘われて Women Who Go Tokyo に参加したことをきっかけに、技術者としての道を歩み出しました。" +img = "person_momo.png" +alt = "mom0tomo" +social = [ + [ + "icon-twitter", + "https://twitter.com/mom0tomo", + ], + [ + "icon-facebook", + "https://www.facebook.com/mom0tomo", + ], + [ + "icon-github", + "https://github.com/mom0tomo", + ], +] + +[[params.about.item]] +name = "Miki" +position = "Organizer, Gopher" +description = "ソフトウェアエンジニアを目指して2019年の秋に Go を始めたところ、すぐに Go が好きになってそのままWomen Who Go Tokyo のスタッフになりました。以前は Azure の構築・運用のお仕事を担当。普段は猫3匹と遊びつつ編み物しています。" +img = "person_miki.jpg" +alt = "Miki" +social = [ + [ + "icon-twitter", + "https://twitter.com/mikiislv09", + ], + [ + "icon-github", + "https://github.com/quwen", + ], + [ + "icon-dribbble", + "#", + ], +] + +[[params.about.item]] +name = "Misato" +position = "Organizer, Gopher" +description = "月に一度 Women Who Go Tokyo で Go の勉強をしています。Go に親しんでいるうちにスタッフに。Go 以外では、NPO で Firebase のイベントの企画や個人開発で Flutter を勉強したりしています。お仕事では C# や DB のメンテなど製品開発や運用保守をしていています。" +img = "person_misato.jpg" +alt = "Misato" +social = [ + [ + "icon-twitter", + "https://twitter.com/mikkegt", + ], + [ + "icon-dribbble", + "#", + ], + [ + "icon-dribbble", + "#", + ], +] + +[[params.about.item]] +name = "micchie" +position = "Organizer, Gopher" +description = "三度の飯と同じくらい好きな Go をもっと多くの人にも楽しんでもらいたくて、Go コミュニティの運営に携わっています。Vim や業務設計、チームビルディング、シニアのキャリアや教育についても興味があります。普段は、プロジェクトマネジャー兼エンジニアとして働いています。" +img = "person_micchie.png" +alt = "micchie" +social = [ + [ + "icon-twitter", + "https://twitter.com/micchiebear", + ], + [ + "icon-facebook", + "https://www.facebook.com/michiru.shirakawa", + ], + [ + "icon-github", + "https://github.com/mi-bear", + ], +] + +# Counters section +[params.counters] +enable = false +title = "Stats" +background = "full_image_1.jpg" + +[[params.counters.item]] +description = "Finished projects" +icon = "icon-briefcase" +from = 0 +to = 0 +interval = 50 +speed = 5000 + +[[params.counters.item]] +description = "Lines of code" +icon = "icon-code" +from = 0 +to = 0 +interval = 50 +speed = 5000 + +[[params.counters.item]] +description = "Cups of coffee" +icon = "icon-cup" +from = 0 +to = 0 +interval = 50 +speed = 5000 + +[[params.counters.item]] +description = "Happy clients" +icon = "icon-people" +from = 0 +to = 0 +interval = 50 +speed = 5000 + +# Contact section: Contact +[params.contact] +enable = true +map = false +form = false +title = "Special Thanks" +description = "イベントの参加者については女性とジェンダーマイノリティの方々に限定していますが、講師やチューター、運営のボランティアとして性別に関わらず多くの方々にご支援、ご賛同いただき活動してきました。毎月の開催にあたり、教材や開催場所を提供してくださっている tenntenn さん、knsh14 さん、そしてコミュニティ立ち上げ時に特にお世話になった makotano さん、evalphobia さん、そして多くの Gopher の皆様に深く感謝します。" + +# Available icons: http://simplelineicons.com/ +details = [ + [ + "icon-envelope", + "micchie@womenwhogo.tokyo", + ], + [ + "icon-globe", + 'https://web.womenwhogo.tokyo', + ], +] + +name = "Name" +email = "Email" +phone = "Phone" +message = "Message" +button = "Send message" + +# Footer section +[params.footer] +enable = true +copyright = '© Elate Free HTML5. All Rights Reserved.
Created by FREEHTML5.co Images: Pexels, plmd.me
Hugo port by: saey55' +links = [ + [ + "icon-twitter", + "https://twitter.com/wwg_tokyo", + ], + [ + "icon-youtube", + "https://www.youtube.com/channel/UCXjeaS6CWwuNVBOIytnDIdg", + ], +] [params.testimonials] enable = true title = "Books" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..c87a623 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/WomenWhoGoTokyo/webpage + +go 1.24.4 + +require github.com/saey55/hugo-elate-theme v0.0.0-20190113203640-d4390ac60a50 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..db1a7d8 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/saey55/hugo-elate-theme v0.0.0-20190113203640-d4390ac60a50 h1:HKyADens70qWrZqptmfCnopSYYomEuwmA7n+SSJy/nY= +github.com/saey55/hugo-elate-theme v0.0.0-20190113203640-d4390ac60a50/go.mod h1:yyNmITaWC60bypbqCt/mMJ/2Y5/wL0J/8D7JT7rUs08= diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 46b81d6..63575f7 100755 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -1,31 +1,31 @@ -
-
-
-
-

{{ with .Site.Params.about.title }}{{ . | markdownify }}{{ end }}

-
-
-

{{ with .Site.Params.about.description }}{{ . | markdownify }}{{ end }}

-
+
+
+
+
+

{{ with site.Params.about.title }}{{ . | markdownify }}{{ end }}

+
+
+

{{ with site.Params.about.description }}{{ . | markdownify }}{{ end }}

-
- {{ range .Site.Params.about.item }} -
-
-
{{ .alt }}
-

{{ .name | markdownify }}

- {{ .position | markdownify }} -

{{ .description | markdownify }}

-
+
+ {{ range site.Params.about.item }} +
+
+
{{ .alt }}
+

{{ .name | markdownify }}

+ {{ .position | markdownify }} +

{{ .description | markdownify }}

+ -
+
- {{ end }}
+ {{ end }}
-
+
+
diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html index 189d603..1224538 100755 --- a/layouts/partials/intro.html +++ b/layouts/partials/intro.html @@ -1,28 +1,28 @@ -
-
-
- {{ range .Site.Params.intro.item }} -
-
-
-
- -

{{ .title }}

-

{{ .description }}

- {{ if .button}} -

{{ .button}}

- {{ end }} -
+
+
+
+ {{ range site.Params.intro.item }} +
+
+
+
+ +

{{ .title }}

+

{{ .description }}

+ {{ if .button}} +

{{ .button}}

+ {{ end }}
- {{ end }} -
- {{ if .Site.Params.intro.video.enable }} -
- - {{.Site.Params.intro.video.title | markdownify }} - -
{{ end }}
-
+ {{ if site.Params.intro.video.enable }} +
+ {{ site.Params.intro.video.title | markdownify }} + + +
+ {{ end }} +
+
diff --git a/layouts/partials/services.html b/layouts/partials/services.html index a4799b5..d85fa52 100755 --- a/layouts/partials/services.html +++ b/layouts/partials/services.html @@ -1,29 +1,29 @@ -
-
-
-
-

{{ with .Site.Params.services.title }}{{ . | markdownify }}{{ end }}

-
-
-

{{ with .Site.Params.services.description }}{{ . | markdownify }}{{ end }}

-
+
+
+
+
+

{{ with site.Params.services.title }}{{ . | markdownify }}{{ end }}

+
+
+

{{ with site.Params.services.description }}{{ . | markdownify }}{{ end }}

-
- {{ range .Site.Params.services.item }} -
- -

{{ .title | markdownify }}

-

{{ .description | markdownify }}

-
-
- {{ end }} +
+
+ {{ range site.Params.services.item }} +
+ +

{{ .title | markdownify }}

+

{{ .description | markdownify }}

-
-
-

{{ .Site.Params.services.footertext | markdownify }}

-
+
+ {{ end }} +
+
+
+

{{ site.Params.services.footertext | markdownify }}

-
\ No newline at end of file +
+
diff --git a/layouts/partials/testimonials.html b/layouts/partials/testimonials.html index 30caec8..8a82b66 100644 --- a/layouts/partials/testimonials.html +++ b/layouts/partials/testimonials.html @@ -1,29 +1,29 @@ -
-
-
-
-

{{ with .Site.Params.testimonials.title }}{{ . | markdownify }}{{ end }}

-
-
-

{{ with .Site.Params.testimonials.description }}{{ . | markdownify }}{{ end }}

-
+
+
+
+
+

{{ with site.Params.testimonials.title }}{{ . | markdownify }}{{ end }}

+
+
+

{{ with site.Params.testimonials.description }}{{ . | markdownify }}{{ end }}

-
- {{ range .Site.Params.testimonials.item }} -
-
-
-

{{ .quote | markdownify}}

-
- +
+
+ {{ range site.Params.testimonials.item }} +
+
+
+

{{ .quote | markdownify}}

+
+
- {{ end }}
+ {{ end }}
-
\ No newline at end of file +
+
diff --git a/layouts/partials/work.html b/layouts/partials/work.html index 1a4d429..3ba85ee 100755 --- a/layouts/partials/work.html +++ b/layouts/partials/work.html @@ -1,35 +1,35 @@ -
-
-
-
-

{{ with .Site.Params.work.title }}{{ . }}{{ end }}

-
-
-

{{ with .Site.Params.work.description }}{{ . | markdownify }}{{ end }}

-
+
+
+
+
+

{{ with site.Params.work.title }}{{ . }}{{ end }}

+
+
+

{{ with site.Params.work.description }}{{ . | markdownify }}{{ end }}

-
- {{ range .Site.Params.work.row }} - -
+
{{ end }} -
-
-
-

{{ .Site.Params.work.footertext | markdownify }}

-

{{ .Site.Params.work.annotation | markdownify }}

-
+
+
+
+

{{ site.Params.work.footertext | markdownify }}

+

{{ site.Params.work.annotation | markdownify }}

-
+
+
diff --git a/themes/elate b/themes/elate deleted file mode 160000 index d4390ac..0000000 --- a/themes/elate +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d4390ac60a5002f16f2d0995e29a68abddc46f9c