Commit graph

68 commits

Author SHA1 Message Date
Somrat
def0a392a5 code formatting 2022-01-30 11:10:45 +06:00
Somrat
fa2d300c90 fixed language switcher 2021-12-18 12:24:57 +06:00
Justin W. Flory (he/him) [UNICEF Innovation]
52a259a512
📝 layouts/index: Add optional text above site topics
This commit allows a site to have generic text to appear at the top of
the site, underneath the header but above the topics. This is useful
because it allows a site maintainer to give more context or lead-ins to
the content available on the site. Since this might not be applicable
for all users, this is made an optional feature. If there is no index
file in `content/`, nothing will appear and the site will appear as it
does now.

Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <jflory@unicef.org>
2021-11-19 11:59:01 +01:00
somratpro
9d1c926d23 merged 2021-10-31 10:35:23 +06:00
somratpro
d57b1322c5 merged 2021-10-31 10:31:58 +06:00
Ashwin Madavan
92240aeb3f
Capitalize subject in contact form placeholder 2021-10-10 19:06:50 -07:00
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
e31a93dbd3 added partial cached and new notice on elemnt page 2021-06-01 14:04:53 +06:00
somratpro
4685e0da58 added meta OG and Twitter data 2021-04-29 09:13:39 +06:00
somratpro
e45d6108ea added method for contact form 2021-04-27 09:50:17 +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
Ozan Hanedan
38d6b31f39 change anchorize to sha1 on faq shortcode 2021-03-06 22:49:02 +03:00
Ozan Hanedan
4319d68ad6 turkish character bug fix on faq shortcode 2021-03-05 16:27:43 +03:00
somratpro
995ed2f687 docs topic icon is now optional 2020-11-05 09:50:04 +06:00
somratpro
78785bd752 Merge branch 'master' of https://github.com/themefisher/dot 2020-09-24 09:21:49 +06:00
somratpro
2de0d11a7e fixed faq shortcode issue 2020-09-24 09:20:37 +06: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
fe1c29e732 modified banner 2020-05-16 11:36:03 +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
bb4d388754
Support for Markdown in notice shortcode 2019-12-16 16:05:48 +01:00
somrat
ad13ae4587 Merge branch 'master' of github.com:themefisher/dot 2019-12-15 10:42:58 +06:00
somrat
0427e200be modified element page 2019-12-15 10:41:28 +06:00