Skip to content

Commit 1ce93f5

Browse files
author
Alban Bailly
committed
titles
1 parent 0598e9c commit 1ce93f5

File tree

1 file changed

+5
-1
lines changed
  • src/components/5_templates

1 file changed

+5
-1
lines changed

src/components/5_templates/api.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ const apiPage = ({ pageContext }) => {
1616
return (
1717
<Layout title="API Documentation" subtitle="Linode API Documentation">
1818
<SEO title="API Documentation" description="" />
19+
<h1>
20+
{(node["get"] && node["get"].tags) ||
21+
(node["put"] && node["put"].tags) ||
22+
(node["post"] && node["post"].tags)}
23+
</h1>
1924
{Object.keys(node).map(e => {
2025
const mode = modes[e];
2126
const n = node[mode];
2227
return (
2328
mode !== undefined && (
2429
<div key={e}>
25-
<h1>{n.tags}</h1>
2630
<h2>{mode}</h2>
2731
<p>{n.summary}</p>
2832
</div>

0 commit comments

Comments
 (0)