mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
fix workflow demo macro
This commit is contained in:
parent
b35d150196
commit
9b486d1b30
@ -7,6 +7,7 @@ hide:
|
||||
|
||||
# Welcome
|
||||
|
||||
|
||||
This is the documentation for [n8n](https://n8n.io/){:target=_blank .external-link}, a [fair-code](http://faircode.io){:target=_blank .external-link} licensed node-based workflow automation tool.
|
||||
|
||||
It covers everything from setup to usage and development. It's a work in progress and all [contributions](/help-community/contributing/) are welcome.
|
||||
|
||||
1
main.py
1
main.py
@ -35,6 +35,7 @@ def define_env(env):
|
||||
|
||||
return f'<div class="n8n-templates-widget"><div class="n8n-templates-widget-template"><strong>{workflow_one_title}</strong><p class="n8n-templates-name">by {workflow_one_user}</p><a class="n8n-templates-link" href="{workflow_one_url}" target="_blank">View template details</a></div><div class="n8n-templates-widget-template"><strong>{workflow_two_title}</strong><p class="n8n-templates-name">by {workflow_two_user}</p><a class="n8n-templates-link" href="{workflow_two_url}" target="_blank">View template details</a></div><div class="n8n-templates-widget-template"><strong>{workflow_three_title}</strong><p class="n8n-templates-name">by {workflow_three_user}</p><a class="n8n-templates-link" href="{workflow_three_url}" target="_blank">View template details</a></div><span class="n8n-templates-widget-more"><a href="https://n8n.io/integrations/{slug}/" target="_blank">Browse {title} integration templates</a>, or <a href="https://n8n.io/workflows/" target="_blank">search all templates</a></span></div>'
|
||||
|
||||
@env.macro
|
||||
def workflowDemo(workflow_endpoint):
|
||||
r = requests.get(url = workflow_endpoint)
|
||||
wf_data = r.json()
|
||||
|
||||
@ -157,7 +157,7 @@ plugins:
|
||||
- search
|
||||
- exclude:
|
||||
glob:
|
||||
#- integrations/builtin/*
|
||||
- integrations/builtin/*
|
||||
# https://squidfunk.github.io/mkdocs-material/reference/images/#lightbox
|
||||
- glightbox:
|
||||
touchNavigation: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user