snapshot of https://github.com/ThreeDotsLabs/watermill.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
master / ci (push) Failing after 0s
Some checks failed
master / ci (push) Failing after 0s
This commit is contained in:
1
docs/layouts/_default/_markup/render-link.html
Normal file
1
docs/layouts/_default/_markup/render-link.html
Normal file
@@ -0,0 +1 @@
|
||||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "https") }} target="_blank"{{ end }} >{{ .Text | safeHTML }}</a>
|
||||
38
docs/layouts/_default/learn.html
Normal file
38
docs/layouts/_default/learn.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{{ define "main" }}
|
||||
<div class="learn-container">
|
||||
<div class="learn-header">
|
||||
<h1 class="learn-main-title">Learn Watermill</h1>
|
||||
</div>
|
||||
|
||||
<div class="learn-section">
|
||||
<h2 class="learn-section-title">How do you like to learn?</h2>
|
||||
<div class="learn-row">
|
||||
{{ range $index, $option := .Params.learning_options }}
|
||||
<a href="{{ .link }}" class="learn-card">
|
||||
<div class="learn-card-icon">
|
||||
{{ .icon | safeHTML }}
|
||||
</div>
|
||||
<h3>{{ .title }}</h3>
|
||||
<span class="learn-card-secondary">{{ .subtitle }}</span>
|
||||
<p>{{ .description }}</p>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="learn-section">
|
||||
<h2 class="learn-section-title">Dive Deeper</h2>
|
||||
<div class="learn-row">
|
||||
{{ range .Params.deeper_options }}
|
||||
<a href="{{ .link }}" class="learn-card" {{ if .external }}target="_blank" rel="noopener"{{ end }}>
|
||||
<div class="learn-card-icon">
|
||||
{{ .icon | safeHTML }}
|
||||
</div>
|
||||
<h3>{{ .title }}</h3>
|
||||
<p>{{ .description }}</p>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
12
docs/layouts/_default/quickstart.html
Normal file
12
docs/layouts/_default/quickstart.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<div class="quickstart-container">
|
||||
<div class="quickstart-header">
|
||||
<h1 class="quickstart-main-title">{{ .Title }}</h1>
|
||||
<p class="quickstart-subtitle">{{ .Params.description }}</p>
|
||||
</div>
|
||||
|
||||
<div class="quickstart-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user