Adding table to second_post

Testing the bootstrap classes on Hugo output
This commit is contained in:
2020-05-16 04:25:47 +01:00
parent 52fc680808
commit fdd56510a4
2 changed files with 13 additions and 2 deletions

BIN
blog/.DS_Store vendored

Binary file not shown.

View File

@@ -4,8 +4,8 @@ date: "2020-05-05T02:14:50+01:00"
images: ["images/banner.svg"] images: ["images/banner.svg"]
draft: true draft: true
authors: authors:
- "Daniel Tomlinson" - "Daniel Tomlinson"
- "New Authors" - "New Authors"
tags: ["Introduction", "test", "another", "tagging", "hugo", "newz"] tags: ["Introduction", "test", "another", "tagging", "hugo", "newz"]
--- ---
@@ -56,3 +56,14 @@ def flask():
## Test img shortcode ## Test img shortcode
{{< img "images/banner.svg*" >}} {{< img "images/banner.svg*" >}}
## Test table
Does Hugo put the class of the table as `content table`? If so do we need to add the bootstrap `table` class?.
Hugo adds no css to the table. In order to style it you should select the `<table>` element in the `.content` class, and add the `.table` class to it.
| Name | Job |
| ------ | -------- |
| Daniel | Capacity |
| Dale | Capacity |