Title: Integrate minijinja into aiscript-runtime as template engine · Issue #31 · aiscriptdev/aiscript · GitHub
Open Graph Title: Integrate minijinja into aiscript-runtime as template engine · Issue #31 · aiscriptdev/aiscript
X Title: Integrate minijinja into aiscript-runtime as template engine · Issue #31 · aiscriptdev/aiscript
Description: // hello-page.jinja {% if query.is_admin %}
Open Graph Description: // hello-page.jinja {% if query.is_admin %}
X Description: // hello-page.jinja {% if query.is_admin %} <div> Hello, {query.name} (Admin)</div> {% else %} <div> Hello, {query.name}</div> {% endif %} get /hello { query { name: str, is...
Opengraph URL: https://github.com/aiscriptdev/aiscript/issues/31
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Integrate minijinja into aiscript-runtime as template engine","articleBody":"```jinja\n// hello-page.jinja\n{% if query.is_admin %}\n\u003cdiv\u003e Hello, {query.name} (Admin)\u003c/div\u003e\n{% else %}\n\u003cdiv\u003e Hello, {query.name}\u003c/div\u003e\n{% endif %}\n```\n```js\n\nget /hello {\n query {\n name: str,\n is_admin: bool = false,\n }\n\n return render(\"hello-page.jinja\", query);\n}\n\n```\n\n- https://aiscript.dev/guide/contribution/roadmap#web-runtime\n- https://github.com/mitsuhiko/minijinja","author":{"url":"https://github.com/Folyd","@type":"Person","name":"Folyd"},"datePublished":"2025-03-13T06:06:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/31/aiscript/issues/31"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:026c92a2-3742-1973-52ec-b4fed065c226 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C586:2F48FC:20E6A6:2CE623:6A6113FA |
| html-safe-nonce | 1dad5d96703311047403e084f089a2617b9ffa0504e318c9412929842435d222 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTg2OjJGNDhGQzoyMEU2QTY6MkNFNjIzOjZBNjExM0ZBIiwidmlzaXRvcl9pZCI6Ijc3NDA4NDg5MjQwNTY5NDk3NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8fec4cfde453ecafe6e5d9541a282ff3ab3e7e39f5c5aa39ad60299c5ebdf4b0 |
| hovercard-subject-tag | issue:2915967181 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/aiscriptdev/aiscript/31/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb82c63071eb74a0a4ae029c2fe19059feb1e8f4000b3887263e0a38229b3f42/aiscriptdev/aiscript/issues/31 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb82c63071eb74a0a4ae029c2fe19059feb1e8f4000b3887263e0a38229b3f42/aiscriptdev/aiscript/issues/31 |
| og:image:alt | // hello-page.jinja {% if query.is_admin %} Hello, {query.name} (Admin) {% else %} Hello, {query.name} {% endif %} get /hello { query { name: str, is_admin: bool = false, } ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Folyd |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6dfd8e93b1f2b4f7bf96e6f6cd7edcd48360b75fee4f2ff9f611032fce38ec2 |
| turbo-cache-control | no-preview |
| go-import | github.com/aiscriptdev/aiscript git https://github.com/aiscriptdev/aiscript.git |
| octolytics-dimension-user_id | 185588023 |
| octolytics-dimension-user_login | aiscriptdev |
| octolytics-dimension-repository_id | 875138407 |
| octolytics-dimension-repository_nwo | aiscriptdev/aiscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 875138407 |
| octolytics-dimension-repository_network_root_nwo | aiscriptdev/aiscript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 731b2ebd4784c28b421dc5f41abecd2dbac357f2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width