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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1dbe1d5b-2554-9e1d-07cf-bb9bc1d842d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B724:2EC266:18DFB5E:224FA3E:696AA3B4 |
| html-safe-nonce | 7f18c7fa6f7eb3f7fea32a66189a30c9b4ef574566029fcb82433398dbda286e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzI0OjJFQzI2NjoxOERGQjVFOjIyNEZBM0U6Njk2QUEzQjQiLCJ2aXNpdG9yX2lkIjoiNDE1MjU5Njk2NDY2NDA0Mjc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bb0cb0c5074f911d6473b661a3bf1505465d6bfb7e803fc2b738cf81d0e26bf0 |
| hovercard-subject-tag | pull_request:77722522 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| 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