diff --git a/content/data-lab/global-business-growth.md b/content/data-lab/global-business-growth.md index 125fb3a..67c9278 100644 --- a/content/data-lab/global-business-growth.md +++ b/content/data-lab/global-business-growth.md @@ -9,7 +9,8 @@ summary: "Growth of bitcoin businesses based on OSM data" The following table shows bitcoin business growth around the world for the selected period in the dropdown. The chart displays yearly cumulative number of bitcoin businesses for the countries selected in the table. Data is obtained from Openstreetmaps and is updated roughly every 2 hours. - +
+
Select growth period: {{< dropdown-filter id=cumulative_period_type select="365 day,28 day,7 day,1 day" >}} {{< chart src="/js/bitcoin-business-growth-chart.js" >}} {{< table src="/js/bitcoin-business-growth-table.js" >}} diff --git a/hugo.toml b/hugo.toml index 8e94ca5..8930644 100644 --- a/hugo.toml +++ b/hugo.toml @@ -19,3 +19,5 @@ title = 'baseddata.io' ordered = false startLevel = 2 +[markup.goldmark.renderer] + unsafe = true diff --git a/layouts/partials/chart.html b/layouts/partials/chart.html index 7abab44..1655e08 100644 --- a/layouts/partials/chart.html +++ b/layouts/partials/chart.html @@ -1,6 +1,8 @@ -
- - -
+
+
+ + +
+
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8bc918c..f18aee9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,18 +5,27 @@