Title: Restructure everything to use django-amber by inglesp · Pull Request #2 · python/pythonineducation.org · GitHub
Open Graph Title: Restructure everything to use django-amber by inglesp · Pull Request #2 · python/pythonineducation.org
X Title: Restructure everything to use django-amber by inglesp · Pull Request #2 · python/pythonineducation.org
Description: This PR restructures everything to make use of my Django Amber, my new static site generator. The page content is now in pythonineducation/data/page/, and the filenames are things like en-microbit.md (the English version of the micro:bit page). The templates are in pythonineducation/templates/pythonineducation/. The static content is in pythonineducation/static/. Working on this has revealed a handful of shortcomings in Django Amber, including: No CNAME is generated when the site is built The django database needs to be populated manually before ./manage.py serve is run I'll fix these tomorrow. @ntoll Let me know if this approach looks sensible!
Open Graph Description: This PR restructures everything to make use of my Django Amber, my new static site generator. The page content is now in pythonineducation/data/page/, and the filenames are things like en-microbit....
X Description: This PR restructures everything to make use of my Django Amber, my new static site generator. The page content is now in pythonineducation/data/page/, and the filenames are things like en-microbit....
Opengraph URL: https://github.com/python/pythonineducation.org/pull/2
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a33dfb14-bf44-70b7-86d5-229badf0c2d7 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B7A4:A7972:196F107:232089E:696AA40A |
| html-safe-nonce | 7f6f2d6556f2e0a7b0be21ea202e6b040d21b649bcd9381615ecb247e370ee53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0E0OkE3OTcyOjE5NkYxMDc6MjMyMDg5RTo2OTZBQTQwQSIsInZpc2l0b3JfaWQiOiI4NTU3MDA2MTEzNTk0Njc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8dc162e668b53ece360e3d64d97a42e3b5ff9692311089fe88d0bc1d4c512ca9 |
| hovercard-subject-tag | pull_request:77722522 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/pythonineducation.org/pull/2/checks |
| twitter:image | https://avatars.githubusercontent.com/u/28734?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/28734?s=400&v=4 |
| og:image:alt | This PR restructures everything to make use of my Django Amber, my new static site generator. The page content is now in pythonineducation/data/page/, and the filenames are things like en-microbit.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/pythonineducation.org git https://github.com/python/pythonineducation.org.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 61229691 |
| octolytics-dimension-repository_nwo | python/pythonineducation.org |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 61229691 |
| octolytics-dimension-repository_network_root_nwo | python/pythonineducation.org |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width