enya-agent 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +20 -0
- package/.github/workflows/ci.yml +70 -0
- package/.github/workflows/publish.yml +250 -0
- package/.gitmodules +3 -0
- package/Cargo.lock +3584 -0
- package/Cargo.toml +97 -0
- package/crates/enact/Cargo.toml +27 -0
- package/crates/enact/src/lib.rs +60 -0
- package/crates/enact-a2a/Cargo.toml +25 -0
- package/crates/enact-a2a/src/lib.rs +411 -0
- package/crates/enact-channels/Cargo.toml +64 -0
- package/crates/enact-channels/examples/README.md +80 -0
- package/crates/enact-channels/examples/channel_bot.rs +169 -0
- package/crates/enact-channels/examples/telegram-echo.rs +34 -0
- package/crates/enact-channels/examples/whatsapp-echo.rs +142 -0
- package/crates/enact-channels/src/config.rs +213 -0
- package/crates/enact-channels/src/lib.rs +25 -0
- package/crates/enact-channels/src/runtime.rs +237 -0
- package/crates/enact-channels/src/security/mod.rs +5 -0
- package/crates/enact-channels/src/security/pairing.rs +205 -0
- package/crates/enact-channels/src/teams.rs +601 -0
- package/crates/enact-channels/src/telegram.rs +2833 -0
- package/crates/enact-channels/src/traits.rs +200 -0
- package/crates/enact-channels/src/webhook.rs +262 -0
- package/crates/enact-channels/src/whatsapp.rs +310 -0
- package/crates/enact-cli/Cargo.toml +40 -0
- package/crates/enact-cli/src/commands/doctor.rs +62 -0
- package/crates/enact-cli/src/commands/mod.rs +3 -0
- package/crates/enact-cli/src/commands/run.rs +69 -0
- package/crates/enact-cli/src/commands/serve.rs +81 -0
- package/crates/enact-cli/src/config.rs +2 -0
- package/crates/enact-cli/src/main.rs +79 -0
- package/crates/enact-config/Cargo.toml +36 -0
- package/crates/enact-config/ENV_VAR_MAPPING.md +135 -0
- package/crates/enact-config/QUICK_REFERENCE.md +92 -0
- package/crates/enact-config/README.md +107 -0
- package/crates/enact-config/TESTING.md +161 -0
- package/crates/enact-config/examples/test-env-vars.rs +100 -0
- package/crates/enact-config/src/config.rs +399 -0
- package/crates/enact-config/src/encrypted_store.rs +211 -0
- package/crates/enact-config/src/lib.rs +298 -0
- package/crates/enact-config/src/secrets.rs +149 -0
- package/crates/enact-config/src/sync.rs +260 -0
- package/crates/enact-config/test-env-vars.sh +34 -0
- package/crates/enact-config/tests/README.md +99 -0
- package/crates/enact-config/tests/config_integration_test.rs +202 -0
- package/crates/enact-config/tests/security_test.rs +140 -0
- package/crates/enact-context/Cargo.toml +41 -0
- package/crates/enact-context/src/budget.rs +314 -0
- package/crates/enact-context/src/calibrator.rs +535 -0
- package/crates/enact-context/src/compactor.rs +392 -0
- package/crates/enact-context/src/condenser.rs +826 -0
- package/crates/enact-context/src/lib.rs +94 -0
- package/crates/enact-context/src/segment.rs +238 -0
- package/crates/enact-context/src/step_context.rs +645 -0
- package/crates/enact-context/src/token_counter.rs +148 -0
- package/crates/enact-context/src/window.rs +372 -0
- package/crates/enact-core/Cargo.toml +42 -0
- package/crates/enact-core/README.md +98 -0
- package/crates/enact-core/src/background/executor.rs +524 -0
- package/crates/enact-core/src/background/mod.rs +48 -0
- package/crates/enact-core/src/background/target_binding.rs +390 -0
- package/crates/enact-core/src/background/trigger.rs +511 -0
- package/crates/enact-core/src/callable/callable.rs +152 -0
- package/crates/enact-core/src/callable/composite.rs +817 -0
- package/crates/enact-core/src/callable/graph.rs +104 -0
- package/crates/enact-core/src/callable/llm.rs +211 -0
- package/crates/enact-core/src/callable/mod.rs +64 -0
- package/crates/enact-core/src/callable/registry.rs +206 -0
- package/crates/enact-core/src/context/execution_context.rs +757 -0
- package/crates/enact-core/src/context/invocation.rs +99 -0
- package/crates/enact-core/src/context/mod.rs +50 -0
- package/crates/enact-core/src/context/tenant.rs +175 -0
- package/crates/enact-core/src/context/trace.rs +127 -0
- package/crates/enact-core/src/flow/conditional.rs +293 -0
- package/crates/enact-core/src/flow/mod.rs +43 -0
- package/crates/enact-core/src/flow/parallel.rs +437 -0
- package/crates/enact-core/src/flow/repeat.rs +534 -0
- package/crates/enact-core/src/flow/sequential.rs +248 -0
- package/crates/enact-core/src/graph/checkpoint.rs +79 -0
- package/crates/enact-core/src/graph/checkpoint_store.rs +76 -0
- package/crates/enact-core/src/graph/compiled.rs +189 -0
- package/crates/enact-core/src/graph/edge.rs +59 -0
- package/crates/enact-core/src/graph/graph_schema.rs +218 -0
- package/crates/enact-core/src/graph/loader.rs +155 -0
- package/crates/enact-core/src/graph/mod.rs +18 -0
- package/crates/enact-core/src/graph/node/function.rs +49 -0
- package/crates/enact-core/src/graph/node/mod.rs +48 -0
- package/crates/enact-core/src/graph/schema.rs +62 -0
- package/crates/enact-core/src/inbox/message.rs +405 -0
- package/crates/enact-core/src/inbox/mod.rs +31 -0
- package/crates/enact-core/src/inbox/store.rs +355 -0
- package/crates/enact-core/src/kernel/artifact/filesystem.rs +546 -0
- package/crates/enact-core/src/kernel/artifact/metadata.rs +283 -0
- package/crates/enact-core/src/kernel/artifact/mod.rs +27 -0
- package/crates/enact-core/src/kernel/artifact/store.rs +427 -0
- package/crates/enact-core/src/kernel/enforcement.rs +1315 -0
- package/crates/enact-core/src/kernel/error.rs +1200 -0
- package/crates/enact-core/src/kernel/event.rs +1394 -0
- package/crates/enact-core/src/kernel/execution_model.rs +831 -0
- package/crates/enact-core/src/kernel/execution_state.rs +189 -0
- package/crates/enact-core/src/kernel/execution_strategy.rs +117 -0
- package/crates/enact-core/src/kernel/ids.rs +2086 -0
- package/crates/enact-core/src/kernel/interrupt.rs +125 -0
- package/crates/enact-core/src/kernel/kernel.rs +1283 -0
- package/crates/enact-core/src/kernel/mod.rs +205 -0
- package/crates/enact-core/src/kernel/persistence/event_store.rs +270 -0
- package/crates/enact-core/src/kernel/persistence/message_store.rs +908 -0
- package/crates/enact-core/src/kernel/persistence/mod.rs +102 -0
- package/crates/enact-core/src/kernel/persistence/state_store.rs +228 -0
- package/crates/enact-core/src/kernel/persistence/vector_store.rs +299 -0
- package/crates/enact-core/src/kernel/reducer.rs +808 -0
- package/crates/enact-core/src/kernel/replay.rs +153 -0
- package/crates/enact-core/src/lib.rs +413 -0
- package/crates/enact-core/src/memory/episodic.rs +0 -0
- package/crates/enact-core/src/memory/mod.rs +6 -0
- package/crates/enact-core/src/memory/semantic.rs +0 -0
- package/crates/enact-core/src/memory/trait.rs +0 -0
- package/crates/enact-core/src/memory/vector_db.rs +0 -0
- package/crates/enact-core/src/memory/working.rs +0 -0
- package/crates/enact-core/src/policy/execution_policy.rs +292 -0
- package/crates/enact-core/src/policy/filters.rs +458 -0
- package/crates/enact-core/src/policy/input_processor.rs +407 -0
- package/crates/enact-core/src/policy/long_running.rs +134 -0
- package/crates/enact-core/src/policy/mod.rs +193 -0
- package/crates/enact-core/src/policy/pii_input.rs +274 -0
- package/crates/enact-core/src/policy/tenant_policy.rs +453 -0
- package/crates/enact-core/src/policy/tool_policy.rs +407 -0
- package/crates/enact-core/src/providers/mod.rs +63 -0
- package/crates/enact-core/src/providers/trait.rs +292 -0
- package/crates/enact-core/src/runner/callbacks.rs +6 -0
- package/crates/enact-core/src/runner/execution_runner.rs +476 -0
- package/crates/enact-core/src/runner/loop.rs +117 -0
- package/crates/enact-core/src/runner/mod.rs +58 -0
- package/crates/enact-core/src/runner/protected_runner.rs +280 -0
- package/crates/enact-core/src/signal/inmemory.rs +231 -0
- package/crates/enact-core/src/signal/mod.rs +108 -0
- package/crates/enact-core/src/streaming/event_logger.rs +195 -0
- package/crates/enact-core/src/streaming/event_stream.rs +1423 -0
- package/crates/enact-core/src/streaming/mod.rs +108 -0
- package/crates/enact-core/src/streaming/pause_cancel.rs +0 -0
- package/crates/enact-core/src/streaming/protected_emitter.rs +173 -0
- package/crates/enact-core/src/streaming/protection/context.rs +136 -0
- package/crates/enact-core/src/streaming/protection/encryption.rs +289 -0
- package/crates/enact-core/src/streaming/protection/mod.rs +43 -0
- package/crates/enact-core/src/streaming/protection/pii_protection.rs +243 -0
- package/crates/enact-core/src/streaming/protection/processor.rs +166 -0
- package/crates/enact-core/src/streaming/sse.rs +0 -0
- package/crates/enact-core/src/telemetry/exporter.rs +0 -0
- package/crates/enact-core/src/telemetry/init.rs +0 -0
- package/crates/enact-core/src/telemetry/mod.rs +49 -0
- package/crates/enact-core/src/telemetry/spans.rs +245 -0
- package/crates/enact-core/src/tool/agent_tool.rs +177 -0
- package/crates/enact-core/src/tool/browser/mod.rs +0 -0
- package/crates/enact-core/src/tool/browser/webdriver.rs +0 -0
- package/crates/enact-core/src/tool/cost.rs +247 -0
- package/crates/enact-core/src/tool/discovery.rs +0 -0
- package/crates/enact-core/src/tool/dispatcher.rs +347 -0
- package/crates/enact-core/src/tool/filesystem.rs +231 -0
- package/crates/enact-core/src/tool/function.rs +99 -0
- package/crates/enact-core/src/tool/git.rs +162 -0
- package/crates/enact-core/src/tool/http.rs +214 -0
- package/crates/enact-core/src/tool/mcp/client.rs +0 -0
- package/crates/enact-core/src/tool/mcp/mod.rs +0 -0
- package/crates/enact-core/src/tool/mod.rs +51 -0
- package/crates/enact-core/src/tool/reasoning/debugging.rs +0 -0
- package/crates/enact-core/src/tool/reasoning/mcts.rs +0 -0
- package/crates/enact-core/src/tool/reasoning/mod.rs +0 -0
- package/crates/enact-core/src/tool/reasoning/sequential.rs +0 -0
- package/crates/enact-core/src/tool/sandbox/dagger.rs +0 -0
- package/crates/enact-core/src/tool/sandbox/mod.rs +0 -0
- package/crates/enact-core/src/tool/shell.rs +147 -0
- package/crates/enact-core/src/tool/trait.rs +33 -0
- package/crates/enact-core/src/tool/web_search.rs +277 -0
- package/crates/enact-core/src/util/config.rs +0 -0
- package/crates/enact-core/src/util/errors.rs +0 -0
- package/crates/enact-core/src/util/mod.rs +6 -0
- package/crates/enact-core/tests/airgapped_e2e_test.rs +291 -0
- package/crates/enact-core/tests/e2e_agentic_loop.rs +119 -0
- package/crates/enact-core/tests/e2e_test.rs +259 -0
- package/crates/enact-core/tests/graph_test.rs +130 -0
- package/crates/enact-core/tests/stream_event_id_validation.rs +435 -0
- package/crates/enact-cron/Cargo.toml +28 -0
- package/crates/enact-cron/src/lib.rs +44 -0
- package/crates/enact-cron/src/schedule.rs +156 -0
- package/crates/enact-cron/src/store.rs +589 -0
- package/crates/enact-cron/src/types.rs +148 -0
- package/crates/enact-gateway/Cargo.toml +31 -0
- package/crates/enact-gateway/README.md +30 -0
- package/crates/enact-gateway/examples/whatsapp-gateway-runner-mock.rs +59 -0
- package/crates/enact-gateway/examples/whatsapp-gateway.rs +42 -0
- package/crates/enact-gateway/src/lib.rs +582 -0
- package/crates/enact-mcp/Cargo.toml +24 -0
- package/crates/enact-mcp/src/lib.rs +178 -0
- package/crates/enact-memory/Cargo.toml +25 -0
- package/crates/enact-memory/src/backend.rs +20 -0
- package/crates/enact-memory/src/chunker.rs +230 -0
- package/crates/enact-memory/src/embeddings.rs +221 -0
- package/crates/enact-memory/src/lib.rs +67 -0
- package/crates/enact-memory/src/markdown.rs +127 -0
- package/crates/enact-memory/src/none.rs +61 -0
- package/crates/enact-memory/src/sqlite.rs +276 -0
- package/crates/enact-memory/src/traits.rs +65 -0
- package/crates/enact-memory/src/vector.rs +198 -0
- package/crates/enact-oauth/Cargo.toml +27 -0
- package/crates/enact-oauth/src/lib.rs +584 -0
- package/crates/enact-observability/Cargo.toml +22 -0
- package/crates/enact-observability/src/lib.rs +197 -0
- package/crates/enact-providers/Cargo.toml +33 -0
- package/crates/enact-providers/examples/hello-agent.rs +33 -0
- package/crates/enact-providers/src/anthropic.rs +182 -0
- package/crates/enact-providers/src/azure.rs +96 -0
- package/crates/enact-providers/src/bridge.rs +221 -0
- package/crates/enact-providers/src/gemini.rs +227 -0
- package/crates/enact-providers/src/http.rs +78 -0
- package/crates/enact-providers/src/lib.rs +53 -0
- package/crates/enact-providers/src/openai_compatible.rs +167 -0
- package/crates/enact-providers/src/openrouter.rs +33 -0
- package/crates/enact-runner/Cargo.toml +24 -0
- package/crates/enact-runner/README.md +76 -0
- package/crates/enact-runner/src/compaction.rs +225 -0
- package/crates/enact-runner/src/config.rs +118 -0
- package/crates/enact-runner/src/lib.rs +63 -0
- package/crates/enact-runner/src/loop_driver.rs +414 -0
- package/crates/enact-runner/src/parser.rs +421 -0
- package/crates/enact-runner/src/retry.rs +262 -0
- package/crates/enact-runner/tests/integration.rs +278 -0
- package/crates/enact-security/Cargo.toml +22 -0
- package/crates/enact-security/src/audit.rs +375 -0
- package/crates/enact-security/src/lib.rs +37 -0
- package/crates/enact-security/src/policy.rs +406 -0
- package/crates/enact-skills/Cargo.toml +25 -0
- package/crates/enact-skills/src/lib.rs +506 -0
- package/crates/enact-tools/Cargo.toml +22 -0
- package/crates/enact-tools/src/file_read.rs +166 -0
- package/crates/enact-tools/src/file_write.rs +216 -0
- package/crates/enact-tools/src/git_operations.rs +513 -0
- package/crates/enact-tools/src/http_request.rs +417 -0
- package/crates/enact-tools/src/lib.rs +104 -0
- package/crates/enact-tools/src/security.rs +227 -0
- package/crates/enact-tools/src/shell.rs +191 -0
- package/crates/enact-tools/src/traits.rs +159 -0
- package/docs/Makefile +74 -0
- package/docs/config.toml +62 -0
- package/docs/content/_index.md +174 -0
- package/docs/content/a2a/_index.md +431 -0
- package/docs/content/api/_index.md +323 -0
- package/docs/content/channels/_index.md +160 -0
- package/docs/content/channels/teams.md +205 -0
- package/docs/content/channels/telegram.md +182 -0
- package/docs/content/channels/webhook.md +423 -0
- package/docs/content/channels/whatsapp.md +240 -0
- package/docs/content/cli/_index.md +261 -0
- package/docs/content/concepts/_index.md +273 -0
- package/docs/content/configuration/_index.md +241 -0
- package/docs/content/cron/_index.md +248 -0
- package/docs/content/developers/_index.md +278 -0
- package/docs/content/getting-started/_index.md +180 -0
- package/docs/content/installation/_index.md +186 -0
- package/docs/content/installation/uninstall.md +101 -0
- package/docs/content/installation/updating.md +120 -0
- package/docs/content/mcp/_index.md +215 -0
- package/docs/content/memory/_index.md +163 -0
- package/docs/content/oauth/_index.md +515 -0
- package/docs/content/providers/_index.md +206 -0
- package/docs/content/roadmap/_index.md +199 -0
- package/docs/content/security/_index.md +219 -0
- package/docs/content/skills/_index.md +228 -0
- package/docs/content/tools/_index.md +485 -0
- package/docs/content/troubleshooting/_index.md +259 -0
- package/docs/content/yaml-schema/_index.md +294 -0
- package/docs/static/giallo-dark.css +91 -0
- package/docs/static/giallo-light.css +91 -0
- package/docs/themes/tanuki/.github/workflows/deploy.yml +44 -0
- package/docs/themes/tanuki/LICENSE +21 -0
- package/docs/themes/tanuki/README.md +166 -0
- package/docs/themes/tanuki/examples/blog/config.toml +58 -0
- package/docs/themes/tanuki/examples/blog/content/_index.md +4 -0
- package/docs/themes/tanuki/examples/blog/content/about.md +33 -0
- package/docs/themes/tanuki/examples/blog/content/blog/_index.md +7 -0
- package/docs/themes/tanuki/examples/blog/content/blog/api-design-best-practices.md +245 -0
- package/docs/themes/tanuki/examples/blog/content/blog/building-accessible-websites.md +147 -0
- package/docs/themes/tanuki/examples/blog/content/blog/css-grid-vs-flexbox.md +165 -0
- package/docs/themes/tanuki/examples/blog/content/blog/customizing-catppuccin-colors.md +137 -0
- package/docs/themes/tanuki/examples/blog/content/blog/dark-mode-best-practices.md +82 -0
- package/docs/themes/tanuki/examples/blog/content/blog/docker-essentials.md +301 -0
- package/docs/themes/tanuki/examples/blog/content/blog/getting-started-with-zola.md +129 -0
- package/docs/themes/tanuki/examples/blog/content/blog/git-workflow-for-content.md +112 -0
- package/docs/themes/tanuki/examples/blog/content/blog/introduction-to-webassembly.md +183 -0
- package/docs/themes/tanuki/examples/blog/content/blog/modern-javascript-features.md +234 -0
- package/docs/themes/tanuki/examples/blog/content/blog/testing-strategies.md +311 -0
- package/docs/themes/tanuki/examples/blog/content/blog/typography-for-developers.md +104 -0
- package/docs/themes/tanuki/examples/blog/content/blog/welcome-to-tanuki.md +67 -0
- package/docs/themes/tanuki/examples/blog/content/blog/why-static-sites.md +85 -0
- package/docs/themes/tanuki/examples/blog/content/projects.md +64 -0
- package/docs/themes/tanuki/examples/book/config.toml +17 -0
- package/docs/themes/tanuki/examples/book/content/_index.md +12 -0
- package/docs/themes/tanuki/examples/book/content/chapter-1.md +90 -0
- package/docs/themes/tanuki/examples/book/content/chapter-2.md +143 -0
- package/docs/themes/tanuki/examples/book/content/chapter-3.md +217 -0
- package/docs/themes/tanuki/examples/book/content/chapter-4.md +224 -0
- package/docs/themes/tanuki/examples/book/content/chapter-5.md +297 -0
- package/docs/themes/tanuki/examples/book/content/print.md +6 -0
- package/docs/themes/tanuki/examples/docs/config.toml +28 -0
- package/docs/themes/tanuki/examples/docs/content/_index.md +20 -0
- package/docs/themes/tanuki/examples/docs/content/components.md +156 -0
- package/docs/themes/tanuki/examples/docs/content/configuration.md +94 -0
- package/docs/themes/tanuki/examples/docs/content/customization.md +202 -0
- package/docs/themes/tanuki/examples/docs/content/deployment.md +204 -0
- package/docs/themes/tanuki/examples/docs/content/installation.md +59 -0
- package/docs/themes/tanuki/examples/docs/content/print.md +6 -0
- package/docs/themes/tanuki/examples/docs/static/img/tanuki-icon.avif +0 -0
- package/docs/themes/tanuki/examples/index.html +2104 -0
- package/docs/themes/tanuki/mise.toml +108 -0
- package/docs/themes/tanuki/sass/base/_catppuccin.scss +164 -0
- package/docs/themes/tanuki/sass/base/_fonts.scss +64 -0
- package/docs/themes/tanuki/sass/base/_reset.scss +152 -0
- package/docs/themes/tanuki/sass/base/_typography.scss +523 -0
- package/docs/themes/tanuki/sass/components/_buttons.scss +209 -0
- package/docs/themes/tanuki/sass/components/_code.scss +457 -0
- package/docs/themes/tanuki/sass/components/_landing.scss +633 -0
- package/docs/themes/tanuki/sass/components/_layout.scss +294 -0
- package/docs/themes/tanuki/sass/components/_navigation.scss +1200 -0
- package/docs/themes/tanuki/sass/components/_print.scss +237 -0
- package/docs/themes/tanuki/sass/components/_search.scss +224 -0
- package/docs/themes/tanuki/sass/components/_sidebar.scss +473 -0
- package/docs/themes/tanuki/sass/components/_theme-toggle.scss +186 -0
- package/docs/themes/tanuki/sass/modes/_blog.scss +366 -0
- package/docs/themes/tanuki/sass/modes/_product.scss +875 -0
- package/docs/themes/tanuki/sass/modes/_raskell.scss +1696 -0
- package/docs/themes/tanuki/sass/patterns/_buttons.scss +183 -0
- package/docs/themes/tanuki/sass/patterns/_cards.scss +144 -0
- package/docs/themes/tanuki/sass/patterns/_index.scss +9 -0
- package/docs/themes/tanuki/sass/patterns/_lists.scss +259 -0
- package/docs/themes/tanuki/sass/patterns/_sections.scss +243 -0
- package/docs/themes/tanuki/sass/style.scss +47 -0
- package/docs/themes/tanuki/sass/tokens/_colors.scss +139 -0
- package/docs/themes/tanuki/sass/tokens/_spacing.scss +100 -0
- package/docs/themes/tanuki/sass/tokens/_typography.scss +186 -0
- package/docs/themes/tanuki/screenshot.png +0 -0
- package/docs/themes/tanuki/sentinel.kdl +59 -0
- package/docs/themes/tanuki/static/elasticlunr.min.js +10 -0
- package/docs/themes/tanuki/static/fonts/GEIST-LICENSE.txt +92 -0
- package/docs/themes/tanuki/static/fonts/Geist-Variable.woff2 +0 -0
- package/docs/themes/tanuki/static/fonts/GeistMono-Variable.woff2 +0 -0
- package/docs/themes/tanuki/static/img/tanuki-icon.avif +0 -0
- package/docs/themes/tanuki/static/img/tanuki-icon.png +0 -0
- package/docs/themes/tanuki/static/js/anchors.js +18 -0
- package/docs/themes/tanuki/static/js/app.js +274 -0
- package/docs/themes/tanuki/static/js/code.js +394 -0
- package/docs/themes/tanuki/static/js/navigation.js +778 -0
- package/docs/themes/tanuki/static/js/scroll-to-top.js +33 -0
- package/docs/themes/tanuki/static/js/search-raskell.js +240 -0
- package/docs/themes/tanuki/static/js/search.js +215 -0
- package/docs/themes/tanuki/static/js/theme.js +169 -0
- package/docs/themes/tanuki/static/syntax-dark.css +151 -0
- package/docs/themes/tanuki/static/syntax-light.css +151 -0
- package/docs/themes/tanuki/static/wasm/sentinel_playground_wasm.js +486 -0
- package/docs/themes/tanuki/static/wasm/sentinel_playground_wasm_bg.wasm +0 -0
- package/docs/themes/tanuki/templates/404.html +52 -0
- package/docs/themes/tanuki/templates/base.html +428 -0
- package/docs/themes/tanuki/templates/blog.html +66 -0
- package/docs/themes/tanuki/templates/home.html +108 -0
- package/docs/themes/tanuki/templates/index.html +178 -0
- package/docs/themes/tanuki/templates/landing.html +168 -0
- package/docs/themes/tanuki/templates/macros/nav.html +128 -0
- package/docs/themes/tanuki/templates/macros/posts.html +101 -0
- package/docs/themes/tanuki/templates/macros/ui.html +159 -0
- package/docs/themes/tanuki/templates/page.html +135 -0
- package/docs/themes/tanuki/templates/partials/footer.html +38 -0
- package/docs/themes/tanuki/templates/partials/header.html +366 -0
- package/docs/themes/tanuki/templates/partials/nav-buttons.html +55 -0
- package/docs/themes/tanuki/templates/partials/nav-overlay.html +81 -0
- package/docs/themes/tanuki/templates/partials/page-toc-panel.html +43 -0
- package/docs/themes/tanuki/templates/partials/search.html +52 -0
- package/docs/themes/tanuki/templates/partials/sidebar.html +107 -0
- package/docs/themes/tanuki/templates/partials/theme-toggle.html +35 -0
- package/docs/themes/tanuki/templates/partials/toc-overlay.html +146 -0
- package/docs/themes/tanuki/templates/partials/version-picker.html +38 -0
- package/docs/themes/tanuki/templates/print.html +244 -0
- package/docs/themes/tanuki/templates/section.html +186 -0
- package/docs/themes/tanuki/templates/taxonomy_list.html +18 -0
- package/docs/themes/tanuki/templates/taxonomy_single.html +31 -0
- package/docs/themes/tanuki/theme.toml +58 -0
- package/examples/hello-agent.rs +55 -0
- package/package.json +36 -0
- package/proto/config.proto +60 -0
- package/proto/events.proto +0 -0
- package/proto/runtime.proto +215 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{# =============================================================================
|
|
2
|
+
Macros: UI Components
|
|
3
|
+
Reusable UI components (tags, buttons, icons, etc.)
|
|
4
|
+
============================================================================= #}
|
|
5
|
+
|
|
6
|
+
{# -----------------------------------------------------------------------------
|
|
7
|
+
Tag - Single tag pill
|
|
8
|
+
Usage: {{ macros::tag(name="rust", url="/tags/rust/") }}
|
|
9
|
+
----------------------------------------------------------------------------- #}
|
|
10
|
+
{% macro tag(name, url="", size="md") %}
|
|
11
|
+
{% if url %}
|
|
12
|
+
<a href="{{ url | safe }}" class="tag tag--{{ size }}">{{ name }}</a>
|
|
13
|
+
{% else %}
|
|
14
|
+
<span class="tag tag--{{ size }}">{{ name }}</span>
|
|
15
|
+
{% endif %}
|
|
16
|
+
{% endmacro %}
|
|
17
|
+
|
|
18
|
+
{# -----------------------------------------------------------------------------
|
|
19
|
+
Tag List - List of tags
|
|
20
|
+
Usage: {{ macros::tag_list(tags=page.taxonomies.tags, limit=5) }}
|
|
21
|
+
----------------------------------------------------------------------------- #}
|
|
22
|
+
{% macro tag_list(tags, limit=0, size="md") %}
|
|
23
|
+
<div class="tag-list">
|
|
24
|
+
{% set display_tags = tags %}
|
|
25
|
+
{% if limit > 0 %}
|
|
26
|
+
{% set display_tags = tags | slice(end=limit) %}
|
|
27
|
+
{% endif %}
|
|
28
|
+
{% for tag in display_tags %}
|
|
29
|
+
<a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}" class="tag tag--{{ size }}">{{ tag }}</a>
|
|
30
|
+
{% endfor %}
|
|
31
|
+
</div>
|
|
32
|
+
{% endmacro %}
|
|
33
|
+
|
|
34
|
+
{# -----------------------------------------------------------------------------
|
|
35
|
+
Button - Standard button
|
|
36
|
+
Usage: {{ macros::button(text="Learn more", url="/about/", variant="primary") }}
|
|
37
|
+
----------------------------------------------------------------------------- #}
|
|
38
|
+
{% macro button(text, url="", variant="primary", size="md", icon="") %}
|
|
39
|
+
{% if url %}
|
|
40
|
+
<a href="{{ url | safe }}" class="btn btn--{{ variant }} btn--{{ size }}">
|
|
41
|
+
{% if icon %}<span class="btn__icon">{{ icon | safe }}</span>{% endif %}
|
|
42
|
+
{{ text }}
|
|
43
|
+
</a>
|
|
44
|
+
{% else %}
|
|
45
|
+
<button class="btn btn--{{ variant }} btn--{{ size }}">
|
|
46
|
+
{% if icon %}<span class="btn__icon">{{ icon | safe }}</span>{% endif %}
|
|
47
|
+
{{ text }}
|
|
48
|
+
</button>
|
|
49
|
+
{% endif %}
|
|
50
|
+
{% endmacro %}
|
|
51
|
+
|
|
52
|
+
{# -----------------------------------------------------------------------------
|
|
53
|
+
Pill Button - Rounded CTA button
|
|
54
|
+
Usage: {{ macros::pill_button(text="View all", url="/blog/") }}
|
|
55
|
+
----------------------------------------------------------------------------- #}
|
|
56
|
+
{% macro pill_button(text, url) %}
|
|
57
|
+
<a href="{{ url | safe }}" class="view-all-link">{{ text }}</a>
|
|
58
|
+
{% endmacro %}
|
|
59
|
+
|
|
60
|
+
{# -----------------------------------------------------------------------------
|
|
61
|
+
Section Header - Title with optional link
|
|
62
|
+
Usage: {{ macros::section_header(title="Recent Posts", link_text="View all", link_url="/blog/") }}
|
|
63
|
+
----------------------------------------------------------------------------- #}
|
|
64
|
+
{% macro section_header(title, link_text="", link_url="") %}
|
|
65
|
+
<div class="section__header">
|
|
66
|
+
<h2 class="section__title">{{ title }}</h2>
|
|
67
|
+
{% if link_text and link_url %}
|
|
68
|
+
<a href="{{ link_url | safe }}" class="section__link">{{ link_text }}</a>
|
|
69
|
+
{% endif %}
|
|
70
|
+
</div>
|
|
71
|
+
{% endmacro %}
|
|
72
|
+
|
|
73
|
+
{# -----------------------------------------------------------------------------
|
|
74
|
+
Pagination - Previous/Next navigation
|
|
75
|
+
Usage: {{ macros::pagination(paginator=paginator) }}
|
|
76
|
+
----------------------------------------------------------------------------- #}
|
|
77
|
+
{% macro pagination(paginator) %}
|
|
78
|
+
{% if paginator %}
|
|
79
|
+
<nav class="pagination" aria-label="Pagination">
|
|
80
|
+
{% if paginator.previous %}
|
|
81
|
+
<a href="{{ paginator.previous }}" class="pagination__link pagination__link--prev">
|
|
82
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
83
|
+
<path d="m15 18-6-6 6-6"/>
|
|
84
|
+
</svg>
|
|
85
|
+
Newer
|
|
86
|
+
</a>
|
|
87
|
+
{% endif %}
|
|
88
|
+
|
|
89
|
+
<span class="pagination__info">
|
|
90
|
+
Page {{ paginator.current_index }} of {{ paginator.number_pagers }}
|
|
91
|
+
</span>
|
|
92
|
+
|
|
93
|
+
{% if paginator.next %}
|
|
94
|
+
<a href="{{ paginator.next }}" class="pagination__link pagination__link--next">
|
|
95
|
+
Older
|
|
96
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
97
|
+
<path d="m9 18 6-6-6-6"/>
|
|
98
|
+
</svg>
|
|
99
|
+
</a>
|
|
100
|
+
{% endif %}
|
|
101
|
+
</nav>
|
|
102
|
+
{% endif %}
|
|
103
|
+
{% endmacro %}
|
|
104
|
+
|
|
105
|
+
{# -----------------------------------------------------------------------------
|
|
106
|
+
Social Links - Social media icon links
|
|
107
|
+
Usage: {{ macros::social_links(social=config.extra.social) }}
|
|
108
|
+
----------------------------------------------------------------------------- #}
|
|
109
|
+
{% macro social_links(social, size=22) %}
|
|
110
|
+
<div class="social-links">
|
|
111
|
+
{% if social.github %}
|
|
112
|
+
<a href="{{ social.github }}" target="_blank" rel="noopener" aria-label="GitHub">
|
|
113
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{{ size }}" height="{{ size }}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
114
|
+
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/>
|
|
115
|
+
<path d="M9 18c-4.51 2-5-2-7-2"/>
|
|
116
|
+
</svg>
|
|
117
|
+
</a>
|
|
118
|
+
{% endif %}
|
|
119
|
+
{% if social.twitter %}
|
|
120
|
+
<a href="{{ social.twitter }}" target="_blank" rel="noopener" aria-label="Twitter">
|
|
121
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{{ size }}" height="{{ size }}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
122
|
+
<path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"/>
|
|
123
|
+
</svg>
|
|
124
|
+
</a>
|
|
125
|
+
{% endif %}
|
|
126
|
+
{% if social.linkedin %}
|
|
127
|
+
<a href="{{ social.linkedin }}" target="_blank" rel="noopener" aria-label="LinkedIn">
|
|
128
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{{ size }}" height="{{ size }}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
129
|
+
<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/>
|
|
130
|
+
<rect width="4" height="12" x="2" y="9"/>
|
|
131
|
+
<circle cx="4" cy="4" r="2"/>
|
|
132
|
+
</svg>
|
|
133
|
+
</a>
|
|
134
|
+
{% endif %}
|
|
135
|
+
{% if social.mastodon %}
|
|
136
|
+
<a href="{{ social.mastodon }}" target="_blank" rel="noopener me" aria-label="Mastodon">
|
|
137
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{{ size }}" height="{{ size }}" viewBox="0 0 24 24" fill="currentColor">
|
|
138
|
+
<path d="M21.327 8.566c0-4.339-2.843-5.61-2.843-5.61-1.433-.658-3.894-.935-6.451-.956h-.063c-2.557.021-5.016.298-6.45.956 0 0-2.843 1.272-2.843 5.61 0 .993-.019 2.181.012 3.441.103 4.243.778 8.425 4.701 9.463 1.809.479 3.362.579 4.612.51 2.268-.126 3.541-.809 3.541-.809l-.075-1.646s-1.621.511-3.441.449c-1.804-.062-3.707-.194-3.999-2.409a4.523 4.523 0 0 1-.04-.621s1.77.432 4.014.535c1.372.063 2.658-.08 3.965-.236 2.506-.299 4.688-1.843 4.962-3.254.434-2.223.398-5.424.398-5.424zm-3.353 5.59h-2.081V9.057c0-1.075-.452-1.62-1.357-1.62-1 0-1.501.647-1.501 1.927v2.791h-2.069V9.364c0-1.28-.501-1.927-1.502-1.927-.905 0-1.357.545-1.357 1.62v5.099H6.026V8.903c0-1.074.273-1.927.823-2.558.566-.631 1.307-.955 2.228-.955 1.065 0 1.872.409 2.405 1.228l.518.869.519-.869c.533-.819 1.34-1.228 2.405-1.228.92 0 1.662.324 2.228.955.549.631.822 1.484.822 2.558v5.253z"/>
|
|
139
|
+
</svg>
|
|
140
|
+
</a>
|
|
141
|
+
{% endif %}
|
|
142
|
+
{% if social.email %}
|
|
143
|
+
<a href="mailto:{{ social.email }}" aria-label="Email">
|
|
144
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{{ size }}" height="{{ size }}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
145
|
+
<rect width="20" height="16" x="2" y="4" rx="2"/>
|
|
146
|
+
<path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/>
|
|
147
|
+
</svg>
|
|
148
|
+
</a>
|
|
149
|
+
{% endif %}
|
|
150
|
+
</div>
|
|
151
|
+
{% endmacro %}
|
|
152
|
+
|
|
153
|
+
{# -----------------------------------------------------------------------------
|
|
154
|
+
Avatar - User/author avatar image
|
|
155
|
+
Usage: {{ macros::avatar(src="/images/avatar.jpg", alt="John Doe", size=80) }}
|
|
156
|
+
----------------------------------------------------------------------------- #}
|
|
157
|
+
{% macro avatar(src, alt="", size=80) %}
|
|
158
|
+
<img src="{{ src | safe }}" alt="{{ alt }}" class="avatar" width="{{ size }}" height="{{ size }}" loading="lazy">
|
|
159
|
+
{% endmacro %}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block title %}{{ page.title }}{% endblock %}
|
|
4
|
+
|
|
5
|
+
{% block body_class %}page-{{ page.slug }}{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% set mode = config.extra.mode | default(value="site") %}
|
|
8
|
+
|
|
9
|
+
{% block sidebar %}
|
|
10
|
+
{% if mode == "docs" %}
|
|
11
|
+
{% include "partials/sidebar.html" %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% endblock %}
|
|
14
|
+
|
|
15
|
+
{% block nav_buttons %}
|
|
16
|
+
{% if mode == "docs" or mode == "book" %}
|
|
17
|
+
{% include "partials/nav-buttons.html" %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block content %}
|
|
22
|
+
{% if mode == "site" or mode == "blog" %}
|
|
23
|
+
{# raskell.io style article page #}
|
|
24
|
+
<div class="container">
|
|
25
|
+
<article>
|
|
26
|
+
<header class="article-header">
|
|
27
|
+
<div class="thumb">
|
|
28
|
+
<div>
|
|
29
|
+
<h1>{{ page.title }}</h1>
|
|
30
|
+
<div class="post-meta">
|
|
31
|
+
<div class="meta-line">
|
|
32
|
+
{% if config.extra.author or page.extra.author %}
|
|
33
|
+
<span class="author">{{ page.extra.author | default(value=config.extra.author) }}</span>
|
|
34
|
+
{% endif %}
|
|
35
|
+
{% if page.date %}
|
|
36
|
+
{% if config.extra.author or page.extra.author %}<span class="separator">·</span>{% endif %}
|
|
37
|
+
<time>{{ page.date | date(format="%B %d, %Y") }}</time>
|
|
38
|
+
{% endif %}
|
|
39
|
+
{% if page.reading_time %}
|
|
40
|
+
{% if page.date or config.extra.author or page.extra.author %}<span class="separator">·</span>{% endif %}
|
|
41
|
+
<span class="reading-time">{{ page.reading_time }} min read</span>
|
|
42
|
+
{% endif %}
|
|
43
|
+
</div>
|
|
44
|
+
{% if page.taxonomies.tags or page.taxonomies.series %}
|
|
45
|
+
<div class="article-taxonomies">
|
|
46
|
+
{% if page.taxonomies.tags %}
|
|
47
|
+
<div class="tags">
|
|
48
|
+
{% for tag in page.taxonomies.tags %}
|
|
49
|
+
<a href="{{ get_taxonomy_url(kind='tags', name=tag) }}" class="tag">{{ tag }}</a>
|
|
50
|
+
{% endfor %}
|
|
51
|
+
</div>
|
|
52
|
+
{% endif %}
|
|
53
|
+
{% if page.taxonomies.series %}
|
|
54
|
+
<div class="series-badge">
|
|
55
|
+
Series: <a href="{{ get_taxonomy_url(kind='series', name=page.taxonomies.series[0]) }}">{{ page.taxonomies.series[0] }}</a>
|
|
56
|
+
</div>
|
|
57
|
+
{% endif %}
|
|
58
|
+
</div>
|
|
59
|
+
{% endif %}
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
{% if page.extra.image %}
|
|
64
|
+
<img src="/{{ page.extra.image }}" alt="{{ page.title }}" class="post-thumbnail" loading="lazy" decoding="async">
|
|
65
|
+
{% endif %}
|
|
66
|
+
</header>
|
|
67
|
+
</article>
|
|
68
|
+
|
|
69
|
+
<div class="article-post">
|
|
70
|
+
{{ page.content | safe }}
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<div class="container">
|
|
75
|
+
<nav class="flex container suggested">
|
|
76
|
+
{% if page.lower %}
|
|
77
|
+
<a rel="prev" href="{{ page.lower.permalink }}" title="Previous post (older)">
|
|
78
|
+
<span>← Previous</span>
|
|
79
|
+
<strong>{{ page.lower.title }}</strong>
|
|
80
|
+
</a>
|
|
81
|
+
{% endif %}
|
|
82
|
+
|
|
83
|
+
{% if page.higher %}
|
|
84
|
+
<a rel="next" href="{{ page.higher.permalink }}" title="Next post (newer)">
|
|
85
|
+
<span>Next →</span>
|
|
86
|
+
<strong>{{ page.higher.title }}</strong>
|
|
87
|
+
</a>
|
|
88
|
+
{% endif %}
|
|
89
|
+
</nav>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
{% else %}
|
|
93
|
+
{# Original tanuki page layout for docs/book/product modes #}
|
|
94
|
+
<article class="article" itemscope itemtype="https://schema.org/Article" aria-labelledby="article-title">
|
|
95
|
+
{# For docs/book mode, show title as visible heading #}
|
|
96
|
+
<header class="article__header article__header--docs">
|
|
97
|
+
<h1 id="article-title" itemprop="headline">{{ page.title }}</h1>
|
|
98
|
+
{% if page.description %}
|
|
99
|
+
<p class="article__description" itemprop="description">{{ page.description }}</p>
|
|
100
|
+
{% endif %}
|
|
101
|
+
</header>
|
|
102
|
+
|
|
103
|
+
<div class="article__content" itemprop="articleBody">
|
|
104
|
+
{{ page.content | safe }}
|
|
105
|
+
</div>
|
|
106
|
+
|
|
107
|
+
{# Hidden metadata for structured data #}
|
|
108
|
+
{% if config.extra.author is defined and config.extra.author %}
|
|
109
|
+
<meta itemprop="author" content="{{ config.extra.author }}">
|
|
110
|
+
{% endif %}
|
|
111
|
+
{% if page.updated is defined and page.updated %}
|
|
112
|
+
<meta itemprop="dateModified" content="{{ page.updated | date(format='%Y-%m-%d') }}">
|
|
113
|
+
{% endif %}
|
|
114
|
+
</article>
|
|
115
|
+
|
|
116
|
+
{# Bottom navigation for docs/book #}
|
|
117
|
+
{% if mode == "docs" or mode == "book" %}
|
|
118
|
+
<nav class="page-nav" aria-label="Page navigation">
|
|
119
|
+
{% if page.earlier %}
|
|
120
|
+
<a href="{{ page.earlier.permalink | safe }}" class="page-nav__link page-nav__link--prev" rel="prev" aria-label="Previous page: {{ page.earlier.title }}">
|
|
121
|
+
<span class="page-nav__label" aria-hidden="true">Previous</span>
|
|
122
|
+
<span class="page-nav__title">{{ page.earlier.title }}</span>
|
|
123
|
+
</a>
|
|
124
|
+
{% endif %}
|
|
125
|
+
|
|
126
|
+
{% if page.later %}
|
|
127
|
+
<a href="{{ page.later.permalink | safe }}" class="page-nav__link page-nav__link--next" rel="next" aria-label="Next page: {{ page.later.title }}">
|
|
128
|
+
<span class="page-nav__label" aria-hidden="true">Next</span>
|
|
129
|
+
<span class="page-nav__title">{{ page.later.title }}</span>
|
|
130
|
+
</a>
|
|
131
|
+
{% endif %}
|
|
132
|
+
</nav>
|
|
133
|
+
{% endif %}
|
|
134
|
+
{% endif %}
|
|
135
|
+
{% endblock %}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{# Footer - raskell.io style for site/blog mode #}
|
|
2
|
+
{% set mode = config.extra.mode | default(value="site") %}
|
|
3
|
+
|
|
4
|
+
{% if mode == "site" or mode == "blog" %}
|
|
5
|
+
<footer class="footer flex" role="contentinfo">
|
|
6
|
+
<section class="container">
|
|
7
|
+
<nav class="footer-links" role="navigation" aria-label="Footer navigation">
|
|
8
|
+
{% if config.generate_feeds %}
|
|
9
|
+
<a href="{{ get_url(path='rss.xml') }}">RSS</a>
|
|
10
|
+
{% endif %}
|
|
11
|
+
</nav>
|
|
12
|
+
</section>
|
|
13
|
+
<script src="{{ get_url(path='js/app.js') | safe }}"></script>
|
|
14
|
+
</footer>
|
|
15
|
+
{% else %}
|
|
16
|
+
{# Original tanuki footer for docs/book/product modes #}
|
|
17
|
+
<footer class="footer" role="contentinfo">
|
|
18
|
+
<div class="container">
|
|
19
|
+
<div class="footer__content">
|
|
20
|
+
<p class="footer__copyright">
|
|
21
|
+
© {{ now() | date(format="%Y") }} {{ config.extra.author | default(value=config.title) }}.
|
|
22
|
+
Built with <a href="https://www.getzola.org" target="_blank" rel="noopener noreferrer" aria-label="Zola static site generator (opens in new tab)">Zola</a>
|
|
23
|
+
and the <a href="https://github.com/raskell-io/tanuki" target="_blank" rel="noopener noreferrer" aria-label="Tanuki theme on GitHub (opens in new tab)">Tanuki</a> theme.
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
{% if config.extra.social_links %}
|
|
27
|
+
<nav class="footer__links" aria-label="Social links">
|
|
28
|
+
{% for link in config.extra.social_links %}
|
|
29
|
+
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" aria-label="{{ link.name }} (opens in new tab)">
|
|
30
|
+
{{ link.name }}
|
|
31
|
+
</a>
|
|
32
|
+
{% endfor %}
|
|
33
|
+
</nav>
|
|
34
|
+
{% endif %}
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</footer>
|
|
38
|
+
{% endif %}
|