Refactor usage pages with shortcodes, convert HTML to Markdown
Add usage-lead and usage-feature shortcodes to encapsulate the alternating two-column layout, then migrate all ten usage pages (cio, sysadmin, freelance, geek, devops — EN and FR) from raw HTML files to plain Markdown using those shortcodes.
This commit is contained in:
parent
9b15e8e3ea
commit
69b17ea1f2
22 changed files with 672 additions and 1099 deletions
9
layouts/shortcodes/usage-lead.html
Normal file
9
layouts/shortcodes/usage-lead.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<div class="container-fluid mt-3 pt-4 pb-3">
|
||||
<div class="row">
|
||||
<div class="col-md-10 offset-md-1 col-lg-8 offset-lg-2 col-xl-6 offset-xl-3">
|
||||
<p class="lead text-center">
|
||||
{{ .Inner | markdownify }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue