Commit graph

141 commits

Author SHA1 Message Date
Somrat
fa2d300c90 fixed language switcher 2021-12-18 12:24:57 +06:00
Somrat
ee51534a34
Merge pull request #177 from unicef/add/index-page-text
📝 layouts/index: Add optional text above site topics
2021-11-23 12:18:22 +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
Mehedi Sharif Titas
849719fffe
Merge pull request #175 from unicef/174/fix-bracket
🪲 🔧 assets: Add missing bracket (closes #174)
2021-10-14 19:34:33 +06:00
Justin W. Flory (he/him) [UNICEF Innovation]
52d9f7b17f
🪲 🔧 assets: Add missing bracket (closes #174)
This commit adds a closing bracket to the method introduced in commit
d127d5e224. This broke the banner image
and caused it to disappear from the index page.

Closes themefisher/dot-hugo#174.

Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <jflory@unicef.org>
2021-10-14 15:31:29 +02:00
Somrat
974ee76544
Merge pull request #173 from ashwin153/patch-2
Do not fail if generatePDF is not defined
2021-10-13 11:25:55 +06:00
Ashwin Madavan
d127d5e224
Do not fail if generatePDF is not defined 2021-10-11 00:32:30 -07:00
Somrat
66556fe84f
Update config.toml 2021-10-11 10:32:25 +06:00
Somrat
021b2df6a1
Merge pull request #172 from ashwin153/patch-1
Capitalize subject in contact form placeholder
2021-10-11 10:31:21 +06:00
Ashwin Madavan
92240aeb3f
Capitalize subject in contact form placeholder 2021-10-10 19:06:50 -07:00
Sumaiya Akter
9d0a16a4d7
Update README.md 2021-09-08 14:05:08 +06:00
shampaakter
68395547d1 added netlify.toml file, updated theme.toml, README.md file 2021-09-06 15:29:33 +06:00
Somrat Sorkar
6f171c42be
Merge pull request #168 from Idadelveloper/add/pdf-export
Export an article to pdf
2021-08-30 17:23:58 +06: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
Somrat Sorkar
f90395f13b
Merge pull request #161 from jcabak/master
Accessibility and SEO improvements
2021-04-24 09:09:57 +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
Somrat Sorkar
af14a0d07a
Merge pull request #160 from ohanedan/master
turkish character bug fix on faq shortcode
2021-03-07 08:31:56 +06: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
05956a30fd remove themesDir 2021-01-03 09:07:37 +06:00
somratpro
0813a5a4f6 modified readme file 2020-12-29 13:16:12 +06:00
somratpro
995ed2f687 docs topic icon is now optional 2020-11-05 09:50:04 +06:00
somratpro
bcc70042cc added themesDir in config file 2020-11-01 10:34:13 +06:00
somratpro
78785bd752 Merge branch 'master' of https://github.com/themefisher/dot 2020-09-24 09:21:49 +06:00
somratpro
2cc4e871cc fixed faq shortcode issue 2020-09-24 09:20:47 +06:00
somratpro
2de0d11a7e fixed faq shortcode issue 2020-09-24 09:20:37 +06:00
Evan
0eafa9dd7a
Merge pull request #150 from davidsneighbour/patch-1
Add local extension to header partial
2020-09-24 09:09:50 +06:00
Mehedi Sharif Titas
be2641dfe4
Update README.md 2020-09-21 18:53:07 +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
Mehedi Sharif Titas
88e31c87a8
Update README.md 2020-09-20 08:59:05 +06:00
Evan
67e387b354
Merge pull request #149 from LongLiveCHIEF/148-fix-navigation-links-incompatible-with-relative-urls
use absLangUrl instead of relLangUrl for navigation links
2020-09-19 09:09:34 +06:00
Brian Vanderbusch
b5b39b8d0f use absLangUrl instead of relLangUrl for navigation links 2020-09-18 10:44:08 -05:00
somratpro
c8a06545f1 modified copyright 2020-09-10 09:52:11 +06:00
somratpro
aa073470ee change contact email address 2020-09-06 15:09:00 +06:00
somratpro
2f8a35c142 modified navigation for multilingual 2020-08-25 09:08:55 +06:00
somratpro
8499a3bb33 modified licence 2020-08-16 10:03:34 +06:00
somrat-gyver
b53076dc3f fix shortcode from content 2020-07-25 13:04:35 +06:00
somrat-gyver
ad258dbad8 modified content tab and syntax highlight 2020-07-25 12:49:49 +06:00
somrat-gyver
79c5e270e2 modified inner page list heading 2020-07-21 10:45:36 +06:00
somrat-gyver
5dde3da651 modified readme file 2020-07-05 11:27:38 +06:00
somrat-gyver
12783da234 modified post meta font-size 2020-07-05 09:50:21 +06:00