Commit Graph

22 Commits

Author SHA1 Message Date
Piotr Orzechowski
427f124aed Add custom menu item param to set url function (#601) 2021-11-02 14:33:24 -03:00
Luiz F. A. de Prá
ed1c854df2 And notice shortcodes (#537)
* Added information panel shortcodes (#437)

* Added information panel shortcodes

* Fixed dark mixin

* Moved mixin location to correct location

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>

* Fix SCSS styling

* Update generated files

* Fix notice HTML

* Fix Makefile

* Rename JS file

* Adsd emoji support for lang selectors

* Fix notices and other things

* Fix JS on template

* Update  example content

* Update images

* Update generated files

* Fix netlify preview

* Fix netlify preview build

* Fix netlify theme path

Co-authored-by: Jian Liew <jianloongliew@gmail.com>
2021-03-24 20:59:33 -03:00
Luiz F. A. de Prá
acef79480d Change Colorscheme Toggle Button to be floating (#466)
* Moved colour scheme toggle and squashed commits (#433)

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>

* Fix toggle button code

* Add built CSS files

Co-authored-by: Jian Liew <jianloongliew@gmail.com>
2020-10-28 21:37:28 -03:00
Joseph Sanders
6302a4b82b Add Option To Hide Color Scheme Toggle (#406)
* Add color scheme toggle

Add hidedarkmodetoggle to exampleSite, stackbit

Change property name to hidecolorscheme toggle

* Add my name to CONTRIBUTORS.md
2020-09-29 18:32:00 -03:00
Demetrios Lambropoulos
6c97691f5e Font to fork (#420)
* Switch FontAwesome CDN to ForkAwesome

* Converted font-awesome icons to fork-awesome

* converted icons to forkawesome

* Converted folder icon to fork-awesome icon

* Update tags.html

* Update config.toml
2020-09-29 13:28:08 -03:00
Dave Rolsky
0fb4eafa63 Use relative URLs everywhere and remove <base> tag (#411)
There were a few places still using absolute URLs, including <link rel="icon">
tags, <link rel="alternate"> tags, and nav menu links. In addition, the
presence of a <base> tag caused the browser to absolute-ize all relative
URLs. This also removed "canonifyurls = true" from the example site config.

This is a problem for things like render.com, which will put the site on its
own domain for previews. For example, I have a preview site at
https://houseabsolute-com.onrender.com/. Ultimately this will be served at
https://houseabsolute.com/, but before I switched over I wanted to preview the
site.

The absolute URLs were being generated for https://houseabsolute.com/ because
of my baseURL setting in config and the presence of the <base> tag. This
completely breaks the preview site.
2020-09-28 13:43:06 -03:00
Clément Pannetier
be7b79af62 Add theme toggle button feature (#358)
* Add theme toggle button feature

* Add theme toggle button feature

* Replaced svg icon with FA icon + fixed indentation + refactored css

* Added back colorsheme configurations + script moved to be process by hugo pipe

* Make release

* Fix toggle button not working when loading new page + setTheme() refactor

* Make release

* Update exampleSite/config.toml

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-08-11 15:51:13 -03:00
Khosrow Moossavi
8ec09e5d1a Fall back to index if translation for the page doesn't exist (#313)
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-26 09:32:52 -03:00
a1x42
ee91020af5 navigation to different language version remains on page (#294)
Co-authored-by: a1x42 <alex@rohde.lu>
2020-04-08 17:11:07 -03:00
yousifd
0a45a52fcb Hide hamburger menu button on mobile when there are no menu items (#254)
* Hide hamburger menu button on mobile when there are no menu items fix 253

* Fix template identation

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-01-22 16:05:57 -03:00
a1x42
dea81ca434 main link does not switch back to default language if in another language (#202)
no need to configure the language path in the different pages
2019-08-05 09:33:43 -03:00
Steven
402160d2b1 Change relLangURL to safeURL in the header (#183) 2019-05-24 14:39:43 -03:00
Luiz de Prá
a094f8fe7b Fix assets permalinks 2018-09-15 09:45:29 -03:00
Luiz de Prá
333e6358c8 Add social icons 2018-08-22 08:54:56 -03:00
Luiz F. A. de Prá
934db8e964 Add SCSS via Asset Pipeline (#65)
* Remove old files

* Add SCSS pipeline

* Add generated files

* Fix navigation HTML

* Fix media queries

* Remove RTL

* Fix styling for big screens

* Remove separator configs

* Fix menu dropdown

* Add working mobile menu

* Fix menu item heights

* Update README
2018-08-21 16:26:15 -03:00
rdhox
f597d91e55 Mobile menu (#63)
* mobile menu functional

* mobile menu beta

* edits mobile-menu: home link out, rtl ok, menu pop over

* mobile menu - bugs correction

* add horizontal separator

* corrections done + add configuration of centered or rtl/ltr mobile menu

* edit config of example

* separator padding full
2018-07-24 20:26:48 -03:00
Tomasz Wąsiński
f18b8c4e8e Add support for multilingualism (#40) 2018-07-08 20:12:36 -03:00
Khosrow Moossavi
fe847fb152 RTL support (#29) 2018-06-18 14:55:42 -03:00
Luiz F. A. de Prá
82fab8b82a Fix home link 2018-05-10 21:41:38 -03:00
Luiz de Prá
853492596d Fix template to suport empty social parameter 2018-03-23 14:28:38 -03:00
Gabor Nagy
0485ff61a4 Make main menu optional. (#1)
Building the site fails if the menu is not defined in the config,
because the `header.html` references `.Site.Menus.main`. It can be made
optional by using the `with` helper.
2018-03-23 10:33:26 -03:00
Luiz F. A. de Prá
4db982bb01 Initial files 2018-02-28 22:38:59 -03:00