Commit graph

46 commits

Author SHA1 Message Date
zjedi
4902a83bfd safeHTML used for header, footer and content titles 2023-03-21 00:30:33 +01:00
zjedi
cbed08621d Tranferring repository ownership 2023-03-18 20:56:52 +01:00
zjedi
7f5462eefb Header logo - documented, added to example site, CSS fixed 2023-03-14 22:22:58 +01:00
zjedi
0e17f0b7b7 Merge remote-tracking branch 'origin/master' into pr/73
# Conflicts:
#	layouts/index.html
2023-03-14 18:20:04 +01:00
zjedi
6d688fb013 title color tuned and new feature title_guard: When set true, it creates a visual guard (partially transparent rounded box), preventing non-ideal background images from interfering with title/description headings 2023-03-12 01:46:59 +01:00
zjedi
a3c7cb214e - documented external links usage
- copied forawesome 1.2
- updated readme & contribution guideline
2023-03-11 22:46:22 +01:00
zjedi
81ee00262f
Merge pull request #66 from githubmonkey/rawhtml-support
rawhtml shortcode  for injecting custom, complex html into pages, such as iframe etc
2023-03-11 16:03:55 +01:00
zjedi
4f61fb73ff
Merge pull request #65 from githubmonkey/minor-polishes
Add safeHTML to blog-title, allowing <br/> in the title
2023-03-11 16:00:24 +01:00
zjedi
ef2430ab16 Merge branch 'master' into pr/81 2023-03-09 23:57:43 +01:00
zjedi
8c88d93bfa
Merge pull request #101 from zjedi/master
external links - extlink shortcode allow opening links in new browser tab
2023-03-08 22:57:45 +01:00
zjedi
ab58531f0e
Update layouts/partials/head.html, with charset=UTF-8 2023-03-08 19:48:02 +01:00
Oliver Obst
719943ad30
Merge branch 'janraasch:master' into hugo-scrollex 2023-03-08 15:57:59 +11:00
Zdenek Kedaj
930da671a3 Merge remote-tracking branch 'origin/master' 2023-03-07 22:54:47 +01:00
Oliver Obst
a59eb2f896 added support for external links in main menu 2023-03-04 18:45:17 +11:00
Patrick Favre-Bulle
0080c4131a
Fix HTML validator errors 2023-02-26 23:40:18 +01:00
Zdenek Kedaj
b04a7133b5 Merge remote-tracking branch 'origin/master' 2023-02-26 20:54:41 +01:00
Ferdinand Thiessen
a8f0e18f56 Add icon on defaul single view infront of back-to-homepage link
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-26 18:17:08 +01:00
Patrick Favre-Bulle
5cab7a6ec8
Update jquery to 3.6.3 2022-12-30 16:13:40 +01:00
Patrick Favre-Bulle
05a5159112
Add lang attribute in themen 2022-12-30 01:41:37 +01:00
Patrick Favre-Bulle
0e9b40d891
Remove unnecessary stylesheet import in theme 2022-12-30 01:09:48 +01:00
Patrick Favre-Bulle
b2f3cef507
Include fork awesome into css bundle 2022-12-30 00:44:59 +01:00
Patrick Favre-Bulle
6802a82d0d
add asset bundling, cache busting and fingerprinting to css and js 2022-12-29 23:23:24 +01:00
Zdenek Kedaj
71a24464c0 extlink.html shortcode allow opening links in new browser tab 2022-10-01 23:43:09 +02:00
Martijn van der Kooij
db200dea51 MK: Added logo image to homepage, just above the title 2022-09-25 22:16:42 +02:00
Dominik Gedon
a63d1927f2
Update jQuery to 3.6.0 (#64)
This will update jQuery to version 3.6.0 due to security issues.
See https://snyk.io/vuln/npm:jquery?lh=1.11.3

Signed-off-by: Dominik Gedon <dominik@gedon.org>

Signed-off-by: Dominik Gedon <dominik@gedon.org>
2022-09-16 16:43:33 +02:00
Sylvia Dieckmann
a151d9579b
Create rawhtml.html
This allows to inject raw html into any content file. For example, my client uses an appointment booking service which requires a generated html snippet to be inserted into the content page. 

```
{{< rawhtml >}}
    <div id="etermin">
        <iframe ...>...</iframe>
        <script>...</script>
    </div>
{{< /rawhtml >}}
```
2022-06-15 10:11:05 +02:00
Sylvia Dieckmann
6ac16b42d3
Add safeHTML to blog-title
SafeHTML signals to the go templating engine that the html in this string is considered safe and does not need to be escaped. This will allow me to add some additional markup to the title. In my case, I use an explicit <br/> tag to control the line break.
2022-06-15 09:44:46 +02:00
passw0rd123
81d29af505
Deliver fonts locally (#48)
Fixes #34 

* host jquery-1.11.3.min.js locally

Resource downloaded from linked URL https://code.jquery.com/jquery-1.11.3.min.js
ecb916133a9376911f10bc5c659952eb0031e457f5df367cde560edbfba38fb8  jquery-1.11.3.min.js

* deliver fonts locally
2022-02-03 12:32:11 +01:00
passw0rd123
85d913feb0
host jquery-1.11.3.min.js locally (#47)
Resource downloaded from linked URL https://code.jquery.com/jquery-1.11.3.min.js
ecb916133a9376911f10bc5c659952eb0031e457f5df367cde560edbfba38fb8  jquery-1.11.3.min.js
2022-02-02 10:05:22 +01:00
Jan Raasch
8171dde83b fix: do not render drafts on homepage
Fixes #39
2021-12-07 17:21:24 +01:00
Jesper Kolbeck
99dc3365eb
Add both first and last classes when only one page (#43) 2021-12-07 16:35:06 +01:00
Sta7e
0a7d5265d3
chore: move from font-awesome to fork-awesome (#23) 2021-03-26 09:58:40 +01:00
Jan Raasch
789ff52256 Remove trailing newline in »icon«-shortcut
(Really) fixes #12 😉.

It seems like the removal was not picked up on 2ac6ce07e5.
2020-11-24 10:39:47 +01:00
Damon Lynch
9a99a8fb3a
chore: update »design«-URL from github.com to themes.gohugo.io (#11) 2020-10-13 10:58:42 +02:00
Jan Raasch
bde8291944 feat: add "icon"-shortcode 2020-09-21 13:52:32 +02:00
Jan Raasch
848f6129ec style: add & run prettier 2020-09-09 18:00:59 +02:00
Jan Raasch
9a7774bc4b refactor: remove extra p-tags from section.post-content
fixes https://github.com/janraasch/hugo-scroll/issues/7
2020-09-07 17:46:18 +02:00
Jan Raasch
f483bbaea4 fix(site-menu): use anchorized title
fixes https://github.com/janraasch/hugo-scroll/pull/6.

This way we put less burden on JavaScript / jQuery, which is always good :-D.
2020-09-07 14:23:19 +02:00
Jan Raasch
0fe91fc202 fix(header_image): remote relURL to make this work when hosted in a subdir
See https://github.com/gohugoio/hugoThemes/issues/881#issuecomment-667532072
2020-08-01 15:48:07 +02:00
Jan Raasch
a319d9051b chore(layouts/index): use relURL for css background
because netlify optimization requires this, see

https://community.netlify.com/t/support-guide-does-netlify-optimize-every-single-asset-my-site-uses/152
2020-07-09 12:32:43 +02:00
Jan Raasch
78400b82f4 chore: use relative url
Otherwise this breaks on https://janraasch.github.io/hugo-scroll/services/
2020-07-09 11:32:05 +02:00
Jan Raasch
0eb23bf5c8 chore: do not use / in the beginning of a URL
Otherwise this does not work, if the baseURL has a subfolder in there, e.g.

https://janraasch.github.io/hugo-scroll/

See https://github.com/gohugoio/hugoThemes#common-permalink-issues
2020-07-09 11:21:57 +02:00
Jan Raasch
a7fcc36fed chore: point design-template-link to github for now 2020-07-08 20:33:36 +02:00
Jan Raasch
285444ebf0 feat: add empty custom_body and custom_head partials
to be overwritten by the user 🎸.
2020-07-08 20:26:33 +02:00
Jan Raasch
7defcb60fd feat: markdownify copyright-line 2020-07-08 19:26:00 +02:00
Jan Raasch
b05ff4eb22 chore: initial commit 2020-07-07 17:50:41 +02:00