Commit graph

48 commits

Author SHA1 Message Date
Ida Delphine
0fb604c43a Add function to download pdf and download based the downloadBtn parameter
A new taxonomy for the download button should be added in the base configuration file.
eg downloadable = "downloadBtn"
When this downloadBtn is added in the front matter of any of the content files, it will be displayed.
eg downloadBtn: "true"
Adding it to the archetypes and setting it to false by default be awesome.

Signed-off-by: Ida Delphine <mida@unicef.org>
2021-08-30 11:17:38 +01:00
Ida Delphine
e3ca0791cd layouts: Add pdf.js and html2pdf cdn
Signed-off-by: Ida Delphine <mida@unicef.org>
2021-08-20 12:07:57 +01:00
Ida Delphine
f073995976 layouts: Add button to download pdf
Signed-off-by: Ida Delphine <mida@unicef.org>
2021-08-20 12:06:18 +01:00
Sojon
dead996a53 Navigation updated, faq css fixed, other minor change added 2021-07-05 14:26:25 +06:00
somratpro
4685e0da58 added meta OG and Twitter data 2021-04-29 09:13:39 +06:00
JCabak
df803ed9de Accessibility and SEO improvements 2021-04-23 22:43:36 +02:00
JCabak
ac6bc65231 Accessibility and SEO improvements 2021-04-23 22:42:04 +02:00
Patrick Kollitsch
a77c08dbf5
Add local extension to header partial
I have a use case where I would like to add custom content before the `</head>` tag. This change implements that. Users can add locally (either in their overriding theme or in the root directory) add /layouts/partials/overrides/header.html and the content is printed at that location.

I see multiple uses for this, after `<body>`, before `</body>`... The path in templates.Exists must be run through printf for some reason.
2020-09-21 19:02:43 +07:00
Brian Vanderbusch
b5b39b8d0f use absLangUrl instead of relLangUrl for navigation links 2020-09-18 10:44:08 -05:00
somratpro
2f8a35c142 modified navigation for multilingual 2020-08-25 09:08:55 +06:00
somrat-gyver
ad258dbad8 modified content tab and syntax highlight 2020-07-25 12:49:49 +06:00
somrat-gyver
a462ffb310 modifed sidebar style 2020-07-05 09:49:50 +06:00
somrat-gyver
2156abdaec fix dropdown issue 2020-07-05 09:21:01 +06:00
somrat
5f0aabfc53 added google analitycs 2020-04-23 09:04:24 +06:00
somrat
123b654e48 modified header 2020-04-19 10:14:25 +06:00
somrat
b937a11e4d fix some minor bug and improve reliability 2020-04-16 09:53:21 +06:00
somrat
e2f2743c26 updated with hugo v0.69.0 2020-04-15 09:53:46 +06:00
somrat
075c31bfbd modified search style 2020-04-05 12:48:34 +06:00
somrat
774803d95f modified footer and theme.toml file 2020-03-19 15:29:54 +06:00
Ta-Ching Chen
3439e019b0 Fix '.File.UniqueID on zero object' warning 2020-03-11 17:01:00 +08:00
Ta-Ching Chen
6a834ae6b8 fix empty sidelist when modifying doc 2020-03-11 16:53:58 +08:00
Ta-Ching Chen
f5b7ee0a93 Avoid printing unnecessary sections in sidelist 2020-03-11 16:29:33 +08:00
Themefisher Dev
5af355baf6 improve search 2020-02-22 16:12:51 +06:00
Themefisher Dev
47498599e9 modified responsive and color variables 2020-02-18 16:58:36 +06:00
Themefisher Dev
17e688465f added new search facilities 2020-02-15 17:34:02 +06:00
Themefisher Dev
6695462d13 modified navigation and banner 2020-02-08 10:40:37 +06:00
Themefisher Dev
a85b7a7185 modified default.html file 2020-02-03 16:30:12 +06:00
Themefisher Dev
2e7e2290b9 fixed navigation issue 2020-01-27 09:57:24 +06:00
Themefisher Dev
0754fc72a3 modified side-menu and some responsive issue 2020-01-25 13:04:33 +06:00
Themefisher Dev
6f6257751b modified config, faq, header and footer 2020-01-08 16:41:37 +06:00
Themefisher Dev
78d8600723 modified default arch and frontmatter for added lastmod 2020-01-05 11:32:51 +06:00
somrat
5cf3041063 modified navaigation and default structure 2020-01-01 13:11:29 +06:00
somrat
448a3a9c30 modified notice shortcode 2019-12-30 16:27:38 +06:00
Nik Wolfgramm
d436888220
Use absLangURL function for "Home" links
This should address 404 issues when using only a single language.
2019-12-07 14:50:16 +01:00
somrat
94d0294ef6 modified head 2019-12-03 13:42:06 +06:00
somrat
76597ea394 modified navigation and config file for language issue 2019-11-18 11:24:27 +06:00
Somrat
a2f39c5cb7
Merge branch 'master' into i18n 2019-11-14 09:15:26 +06:00
somrat
ab258d9732 modified search engine and some minor bug 2019-11-13 12:23:31 +06:00
172673
b84bfec85e allow language selector to be disabled 2019-10-21 11:43:01 +02:00
somrat
97a74dc345 added option for logo 2019-10-10 15:25:24 +06:00
somrat
66adbebc8b modified copyright text 2019-09-15 16:56:57 +06:00
somrat
7a4f6b06a4 modified main code structure 2019-09-04 17:35:48 +06:00
somrat
461da81c88 modified navigation language list 2019-08-22 12:39:33 +06:00
somrat
3f41c9d0b9 fixed hugo depricated issues 2019-06-15 11:48:38 +06:00
Xavi Aznar
5205011fc1 Improves i18n - Links point to localized versions of the pages
E.g. "Contact" links to /contact by default or when defaultLanguageContent=en.
If the user selects any other language (e.g Es), the link points to "/es/contact".
The Call to Action button also points to the localized version of the Contact page.
2019-06-09 00:35:16 +02:00
Xavi Aznar
a49fb654d6 Removes 2019-06-08 18:07:21 +02:00
somrat
657b1c6a74 modified readme file, theme file and installation page 2019-03-13 11:20:07 +06:00
Somrat
5176f8ea6f initialize template 2019-01-06 16:40:05 +06:00