Commit graph

348 commits

Author SHA1 Message Date
Martin Hoefling
46f2ab37d4 File context warning fixed (#153) 2019-05-14 22:28:57 +02:00
Martin Hoefling
4c19d875de Show date in lists only if set by page (#154) 2019-05-05 21:56:33 +02:00
Hanzei
770fd5c0a6
Fix sorted menu (#150) 2019-04-24 16:51:35 +02:00
Max Bosche
0dc9a5327a fixed "Back to Blog" and "Back to Projects" 2019-04-18 09:10:42 +02:00
tanohzana
85a8ffc84b Merge branch 'master' of https://github.com/tanohzana/hugo-theme-introduction 2019-04-14 09:45:30 +02:00
tanohzana
c8b411e2d0 add light-grey background to code snippets 2019-04-14 09:41:26 +02:00
Max Bosche
87d371f468 solves #149 2019-04-11 10:45:43 +02:00
Hanzei
76123d6853
Fix NPE if projects or blog sections doesn't exist (#148)
See https://github.com/victoriadotdev/hugo-theme-introduction/pull/143#issuecomment-481732990
2019-04-10 19:04:50 +02:00
Hanzei
5d4dc2005c
Fix NPE if projects or blog sections doesn't exist 2019-04-10 18:22:12 +02:00
Maximilian Bosche
5712e49125 Order sections on homepage by weigth (#143) 2019-04-10 14:41:06 +02:00
Hanzei
f223f10314
Drop support for Hugo 0.48 (#147) 2019-04-10 11:29:52 +02:00
Hanzei
26f9dcc1f1
Replace deprecated RSSLink (#146) 2019-04-10 11:16:17 +02:00
Hanzei
3881a30ea5
Add test for Hugo 0.55 (#145) 2019-04-09 15:37:18 +02:00
Florian Adonis
f7c56ab219
Update style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content 2019-04-08 07:09:56 +02:00
tanohzana
4687324150 revert blog sharing icons spacers 2019-04-08 07:05:15 +02:00
tanohzana
d050ccb3c8 fix blog share margin 2019-04-06 13:03:17 +02:00
tanohzana
99fb3d499a add a bit of space between social icons 2019-04-06 13:01:04 +02:00
Victoria
31463b9429 Merge branch 'fix-cors' (fix #135 close #136) 2019-03-18 15:37:26 -04:00
Victoria
b82db49f28 Merge branch 'master' into fix-cors 2019-03-18 15:30:32 -04:00
Victoria
f89d9c5996 Rebuild docs 2019-03-18 15:26:55 -04:00
Victoria
bb6c4c6c74 Try resolving integrity error 2019-03-18 15:20:04 -04:00
Victoria
31520b6f78 Try netlify.toml and rel css links 2019-03-18 14:46:00 -04:00
Victoria
632bcd4579
Fix hero sizes (#137)
* Fix hero sizes

- Use proper sections in index.html to comply with bulma styles
- Update default value of header height to "fullheight" (shows navbar)

* Revert unrelated changes
2019-03-15 11:27:09 -04:00
Victoria
fabdd8764e Reset to current master, remove crossorigin tags
- Reset previous changes on this branch because Victoria made some
pretty messy commits
- Only change the code this PR is intended to address
2019-03-15 11:19:23 -04:00
Hanzei
29bca079b0
Add test for Hugo 0.54 (#139) 2019-03-15 12:06:05 +01:00
Kevin Ottens
29aa348daa Move comments handling in a partial (#138)
This way it's much easier to tune the comment handling in general (like
disable it for some sections) or integrate a different commenting system
than disqus.
2019-03-15 11:03:46 +01:00
Massimo Girondi
a8f42fd1d6 Add Italian translation (#129) 2019-02-07 09:59:47 +01:00
Robert J
9b49548467 CORS and Polish lang (#126)
I propose adding `crossorigin=anonymous`  for signed stylesheets to allow for CORS policy. 

Practical example - I keep my web page in S3 bucket and redirect both naked domain and www domain into the same bucket (this is rare scenario - most people duplicate buckets). 

So I had to enable CORS like in [this article](https://medium.com/@Keithweaver_/only-allowing-access-to-your-s3-bucket-via-your-website-5ca5c8546152) However CORS cannot be used without crossorigin=anonymous set. (explained [here](https://stackoverflow.com/questions/32039568/what-are-the-integrity-and-crossorigin-attributes)

Also added pl.toml for Polish language.
2019-01-25 15:31:09 +01:00
Hanzei
5bba25cd16
Add HTML attributes to social links (fixes #121) (#125)
* Insert arbitrary HTML attributes to social links via config.toml

(fixes #121)
2019-01-14 13:35:37 +01:00
Sascha Mann
7584ca2c4f
Add HTML attributes to social links
* Insert arbitrary HTML attributes to social links via config.toml

(fixes #121)
2019-01-13 22:52:57 +01:00
Maximilian Bosche
819c058865 Added parameter for timeformat (#124) 2019-01-13 09:24:53 +01:00
Hanzei
9122e99c43
Fix license in theme.toml
Fixes #114
2019-01-06 22:36:49 +01:00
Hanzei
0311290322
Add test for Hugo 0.53 (#120) 2018-12-25 11:06:19 +01:00
Vincent Tam
039f4ac0f4 Fix typo in HTML comments (#118) 2018-12-18 13:57:31 +01:00
Vincent Tam
ec7e422842 [Bug fix]: Added missing Spanish UI string (#117) 2018-12-18 08:39:08 +01:00
Vincent Tam
b181323e44 Update README.md due to 91fbea13 (#115)
91fbea13 introduces French translation.
2018-12-16 12:59:29 +01:00
Alison Presmanes Hill
2c5cfbc4b3 Add fa icon packs (#113)
This PR adds functionality for users to specify which `icon_pack` to use (`fas` or `fab`; see: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4) in the `config.toml` file, so that users can use the solid icons as well as the brand icons.

```
    [[params.social]]
        url   = "https://twitter.com/"
        icon  = "twitter" # icon name without the 'fa-'
        icon_pack = "fab"
    [[params.social]]
        url   = "https://facebook.com/"
        icon  = "facebook-f" # icon name without the 'fa-'
        icon_pack = "fab"
    [[params.social]]
        url   = "https://linkedin.com/"
        icon  = "linkedin-in" # icon name without the 'fa-'
        icon_pack = "fab"
    [[params.social]]
        url = "mailto:youremail@email.com"  # For a direct email link, use "mailto:test@example.org".
        icon = "paper-plane" # icon name without the 'fa-'
        icon_pack = "fas"
```
2018-12-14 09:32:50 +01:00
Hanzei
3a6144e557
Fix assets for thems site (#111)
* Fix font path

* Fix favicon path

* Revert "Serve hugo pipes assets with .RelPermalink (#107)"

This reverts commit 88aa5812f5.

* Use relLangURL

* Rebuild docs
2018-11-28 20:50:50 +01:00
Hanzei
5895d84506
Fix font path 2018-11-28 20:19:25 +01:00
Hanzei
1a032470ce
Add tests for Hugo 0.52 (#110) 2018-11-28 18:53:08 +01:00
Hanzei
88aa5812f5
Serve hugo pipes assets with .RelPermalink (#107)
* Serve hugo pipes assets with .RelPermalink

* Rebuild docs
2018-11-28 16:46:21 +01:00
Hanzei
dfe920cc2a
Regenerate resources 2018-11-13 11:05:04 +01:00
Etienne Membrives
826b4c2c9f Fix smooth scrolling for footnotes (#103)
Footnotes are using a fragment format with a colon inside ("#fn:1" for
example). However, ":" is a special character for jQuery
(http://api.jquery.com/category/selectors/), thus the target anchor is
never found and the scrolling does not happen.

This change selects the right target element using vanilla Javascript to
bypass special characters that could be in the fragment part.
2018-11-13 11:03:07 +01:00
Hanzei
5afb81ca58
Hide docs/ in diff 2018-11-12 09:33:01 +01:00
Etienne Membrives
ae3299123d Remove language-specific words from the Twitter share text. (#104) 2018-11-09 07:40:04 +01:00
Etienne Membrives
91fbea1350 French translation (#102)
This commit adds a French translation to the theme, and fixes a
non-translated string in the blog navigation bar.
2018-11-08 13:45:16 +01:00
Hanzei
1b84a1deff
Add tests for Hugo 0.51 (#105) 2018-11-07 15:10:49 +01:00
Hanzei
dc8d116cd1
Require extended Hugo version
See #101
2018-11-07 15:10:09 +01:00
Kevin Ottens
563cf77fe1 Restore home navbar (#90)
* Center the navbar again on the home page

* Favor the project page for listing projects

The project listing has its own page we can link to instead of going
back to the (potentially fading in) home page each time.
2018-10-29 18:44:11 +01:00
Hanzei
04f47b3377
Add tests for Hugo 0.50 (#99)
* Add tests for hugo 0.50

* Update docs

* Update resources
2018-10-29 14:43:15 +01:00