Commit graph

371 commits

Author SHA1 Message Date
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
Vicky
c1c8d2de21 Rebuild docs 2018-10-19 11:09:34 +08:00
Vicky
7362d9e14c Merge branch 'master' of github.com:vickylai/hugo-theme-introduction into docs_script 2018-10-19 11:08:14 +08:00
Hanzei
f263e04d15 Update docs & Add script to build docs (#96) 2018-10-19 11:07:32 +08:00
Vicky
ac4f5ca188 Local build 2018-10-14 11:14:01 +08:00
Hanzei
e193bba1bd
Bump hugo version to 49.2 (#97) 2018-10-12 11:24:13 +02:00
Kevin Ottens
a690dc3bc5 Avoid space before comma in tag list (#94) 2018-10-10 15:59:03 +02:00
Hanzei
6c090cc278
Update docs & Add script to build docs 2018-10-10 15:51:40 +02:00
Hanzei
2267f54d5a
Add test for hugo 0.49.1 (#95) 2018-10-10 15:32:25 +02:00
Vicky
0bd3e485d3 Rebuild docs/ pages site 2018-10-04 12:09:44 +08:00
Vicky
43cbf7fdb7 Build docs with script 2018-10-04 12:04:25 +08:00
Hanzei
60a0bbadd6
Add script to build docs 2018-10-02 15:39:16 +02:00
Hanzei
471cf7e373
Update docs 2018-10-02 15:39:01 +02:00
Kevin Ottens
bab5773e9f Allow to have the fade-in effect only on main page (#78) 2018-09-30 19:32:21 +02:00
Hanzei
7d65d6ca14
Fix baseurl (#86) 2018-09-18 08:36:57 +02:00
Vicky
7bb579950a Fix #81
- Hide date part in posts if no date is given
2018-09-16 12:22:05 +09:00
Vicky
2f8e809667 Add docs/ for demo site
- Serve demo site from theme repo instead of separate repo
2018-09-16 11:54:03 +09:00
Vicky
f57db6fc73 Update example content helpfulness
- Indicate which files and templates are used
2018-09-15 12:40:16 +09:00
Vicky
9e66456804 Update English About page 2018-09-15 12:32:10 +09:00
Vicky
aa5797e653 Update README
- Add link to releases where contributors are listed
2018-09-15 12:24:51 +09:00
Vicky
c13e70a843 Remove unused partial, CHANGELOG file
- CHANGELOG removed in favour of GitHub release notes
2018-09-15 12:23:33 +09:00
Vicky
ef92cd4822 Merge branch 'next_gen' of https://github.com/Hanzei/hugo-theme-introduction into Hanzei-next_gen 2018-09-03 16:59:49 +09:00
Vicky
03e80406a5 Update README and screenshots 2018-09-03 16:49:47 +09:00
Vicky
f43e8a5058 Add helpful comments to project archetype frontmatter 2018-09-03 13:00:54 +09:00
Vicky
4dd00f9d00 Fix external link url showing on home page projects section 2018-09-03 12:55:10 +09:00
Hanzei
fe57f7d294
Hide generated files via gitattributes
See https://medium.com/@clarkbw/managing-generated-files-in-github-1f1989c09dfd
2018-08-31 10:32:01 +02:00
Hanzei
8e5766e51f
Replace .Scratch with = 2018-08-30 22:06:27 +02:00
Hanzei
8c70285a47
Bump hugo version to 0.48 2018-08-30 19:46:31 +02:00