Commit Graph

212 Commits

Author SHA1 Message Date
techknowlogick 61727337c5 Remove outdated sponsors from footer 2023-05-12 10:37:43 +08:00
techknowlogick 1f5b1d438c update logos on home page 2023-05-12 10:35:52 +08:00
pat-s 9036d486c2 Narrow body with and align gitea icon (#126)
As discussed in the maintainers channel.

## Screenshots

![image](/attachments/64fd58d9-fbbf-4adf-bd56-13d7b2c8f197)

![image](/attachments/d08b4367-9cc5-4faf-b55d-1c3d5940f20a)

![image](/attachments/c3ab77e9-4b12-463e-9846-8a624ba750d2)

Reviewed-on: https://gitea.com/gitea/theme/pulls/126
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-29 15:41:20 +08:00
John Olheiser 5e7d82b6cd Use custom URL if author starts with `https://` (#125)
Resolves #124 and would allow for something like `author_domain: github.com` if the author instead has a profile there.

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/125
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2023-03-10 09:58:40 +08:00
techknowlogick 0de5dfc0fe Use Gitea Actions to build and publish theme (#123)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/theme/pulls/123
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-committed-by: techknowlogick <techknowlogick@noreply.gitea.io>
2023-03-07 20:06:40 +08:00
John Olheiser aa3c84e28b Trailing slash for search (#122)
Noted by a user on Discord that our search stopped working.

It appears that our new host is set up to redirect non-trailing slash paths to trailing slash paths, discarding the query parameters.

One option is to change it back, another is this PR which simply adds the trailing slash to the form action.

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/122
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-22 00:31:22 +08:00
techknowlogick 7fb4df522b use drone secrets for s3 info (#121)
Reviewed-on: https://gitea.com/gitea/theme/pulls/121
2023-02-08 06:03:10 +08:00
John Olheiser 64f4349699 Allow multiple authors (#120)
![preview](https://gitea.com/attachments/2eabf87e-712f-41f5-9e52-28b0fb0bb61e)

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/120
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2023-01-27 13:56:55 +08:00
pat-s 9237f02532 Align hover color with static color (#119)
Currently the hover colors are some kind of different green that does not play well with the main green color.

This PR should align the hover color with the static one. Imo there is no need for a different hover color - and having none simplifies things a bit.

The change of `tertiary` aligns the blue used with the blue color used in the gitea light theme (e.g. on gitea.com here).

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/119
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2023-01-21 10:41:45 +08:00
techknowlogick 2c8788aeea update logo 2023-01-05 21:15:05 -05:00
techknowlogick 0ccfec9ee5 style image 2023-01-04 14:15:40 -05:00
techknowlogick 83b01422d0 image dimensions 2023-01-04 14:10:27 -05:00
techknowlogick 67c989453c Add Hosted Gitea due to sponsor 2023-01-04 14:05:48 -05:00
Xinyu Zhou 37ba1245dd Fix typo in template name (#117)
CI failed in https://github.com/go-gitea/gitea/pull/21981 must be resolved.

Signed-off-by: Xinyu Zhou <i@sourcehut.net>

Reviewed-on: https://gitea.com/gitea/theme/pulls/117
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Xinyu Zhou <i@sourcehut.net>
Co-committed-by: Xinyu Zhou <i@sourcehut.net>
2022-12-01 09:28:56 +08:00
Xinyu Zhou d84039b903 Add `Edit on GitHub` (#116)
resolved #115

The following configuration need to be added to [config.yml](https://github.com/go-gitea/gitea/blob/main/docs/config.yaml) ([go-gitea/gitea#21981](https://github.com/go-gitea/gitea/pull/21981))

```yml
params:
  repo: "https://github.com/go-gitea/gitea"
  docContentPath: "docs/content"
```

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
Reviewed-on: https://gitea.com/gitea/theme/pulls/116
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Xinyu Zhou <i@sourcehut.net>
Co-committed-by: Xinyu Zhou <i@sourcehut.net>
2022-11-30 21:30:57 +08:00
techknowlogick 3abdb2e66a update dimensions 2022-11-04 16:19:14 -04:00
techknowlogick 06b4c66b9b width 2022-11-04 16:15:18 -04:00
techknowlogick 1dc4f0265c add klett-it 2022-11-04 16:09:28 -04:00
techknowlogick 4a74df56d9 add klett-it 2022-11-04 16:07:04 -04:00
pat-s 533b344fa4 Update screenshot (#113)
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/113
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2022-10-03 22:51:21 +08:00
pat-s 2a9f0d7efa Update gitignore (#114)
Templates added:

- macos
- hugo

Moved existing rules to `custom/`.

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/114
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2022-10-03 22:50:50 +08:00
techknowlogick 83cf23cc87 add Jeff Moe as sponsor 2022-09-23 22:49:37 +08:00
Norwin 6ce483ae45 Add optional navbar search (for docs.gitea.io) (#112)
Reviewed-on: https://gitea.com/gitea/theme/pulls/112
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-07-31 09:44:20 +08:00
dachary af02c706cb Add nlnet as a sponsor (#108)
NLnet is sponsoring Gitea development by funding developers to work on specific features. The application and the allocation of this funding was [discussed on the Gitea forum](https://discourse.gitea.io/t/nlnet-grant-application-for-federation-deadline-october-1st-2021/4073) from the start.

Co-authored-by: Loïc Dachary <loic@dachary.org>
Reviewed-on: https://gitea.com/gitea/theme/pulls/108
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: dachary <dachary@noreply.gitea.io>
Co-committed-by: dachary <dachary@noreply.gitea.io>
2022-05-15 06:12:47 +08:00
dachary 0fce87f8c7 update footers to add missing sponsors (#110)
Update the footer link to reflect the state of sponsors:

* Remove DigitalOcean
* Add Towhee, Hostea, Two Sigma

Co-authored-by: Loïc Dachary <loic@dachary.org>
Reviewed-on: https://gitea.com/gitea/theme/pulls/110
Reviewed-by: Gusted <williamzijl7@hotmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: dachary <dachary@noreply.gitea.io>
Co-committed-by: dachary <dachary@noreply.gitea.io>
2022-05-11 07:35:20 +08:00
dachary 1aca0e1c4d Add hostea as a gold sponsor (#109)
![image](https://gitea.com/gitea/theme/attachments/db487247-b0d2-4af1-b279-4cc83f27a6c2)

Co-authored-by: Loïc Dachary <loic@dachary.org>
Reviewed-on: https://gitea.com/gitea/theme/pulls/109
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: dachary <dachary@noreply.gitea.io>
Co-committed-by: dachary <dachary@noreply.gitea.io>
2022-05-10 08:56:18 +08:00
techknowlogick b32a3462df Update 'layouts/post/single.html' 2022-04-21 05:03:41 +08:00
techknowlogick 540181e87c Update 'layouts/post/list.html' 2022-04-21 05:00:20 +08:00
techknowlogick 6af86fd332 Update '.drone.yml' 2022-04-12 23:13:59 +08:00
Lunny Xiao 1ce134e989 Add towhee as sponsor (#107)
Via https://opencollective.com/towhee

Reviewed-on: https://gitea.com/gitea/theme/pulls/107
Reviewed-by: 6543 <6543@obermui.de>
2022-04-11 16:10:01 +08:00
techknowlogick b96f5537db update image height 2022-01-24 15:31:29 -05:00
techknowlogick 181f9de130 diff image name 2022-01-24 15:26:14 -05:00
techknowlogick c1c9372fb8 use official node image 2022-01-24 15:24:30 -05:00
techknowlogick abf59f7aa8 allspice to footer 2022-01-24 15:23:18 -05:00
techknowlogick e0918dd84a add allspice 2022-01-24 15:22:36 -05:00
wxiaoguang d719c8e965 Use `vertical-align: bottom;` instead of `middle` to avoid the Web UI jumping when mouse hovers the section title. (#106)
Before: the height of the section title jumps between 25 ~ 28 when mouse leaves and After: the height is fixed
2022-01-13 23:53:10 +08:00
techknowlogick 6a2ae1ca6c Update 'layouts/home/index.html' 2021-11-29 09:34:25 +08:00
techknowlogick 02d5418abd Update 'static/images/twosigma.svg' 2021-11-29 09:33:29 +08:00
Lunny Xiao 34795df6a0 Add twosigma on sponsors list (#103)
ref: https://opencollective.com/twosigma
Reviewed-on: https://gitea.com/gitea/theme/pulls/103
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-11-29 09:25:35 +08:00
pat-s e041c73a40 Fix color of "more" button on blog (#101)
The color is currently off from the main green tone used everywhere.

![image](/attachments/c65e4a36-bad7-4aee-89aa-b0f04a1ae9ff)

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/101
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-10-27 15:04:16 +08:00
Andrew Thornton c225748347 Change burger color to dark grey (#100)
The current color for the burger is a very light grey which is very low contrast to the navbar. This PR sets this to dark grey.

Fix #99

Signed-off-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/gitea/theme/pulls/100
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-committed-by: Andrew Thornton <art27@cantab.net>
2021-10-21 11:22:37 +08:00
pat-s 576e8a137f Update dev instructions (#98)
- Format markdown (one sentence per line & some more lints)
- Update dev instructions (hopefully simplifying them)

fix #96

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/98
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Alexey 〒erentyev <axifive@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-09-13 01:08:33 +08:00
pat-s 1812ae4f93 Align main website (gitea.io) with new theme (#97)
- Align navbar colors
- Reduce vertical white space between screenshot and banner
- Align banner colors
- Updated screenshot (not visible in the preview, please see the file in the diff)

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/97
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Alexey 〒erentyev <axifive@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-09-13 00:51:25 +08:00
pat-s 87dd2d410d Tweak website theme colors (#95)
Fixes https://github.com/go-gitea/gitea/issues/15711

## Main changes

- Use `#528321` for link color and general greenish elements
- Use `#333` for blackish elements
- Use a grey navbar (#f4f4f4) with black text
- Update inline-code coloring (`.code` class)

cc @silverwind

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/95
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-08-03 11:20:48 +08:00
techknowlogick a7d7da49ac update path to s3 bucket
Signed-off-by: techknowlogick <techknowlogick@gitea.io>
2021-07-25 03:41:53 +08:00
techknowlogick 8fc0c6257d add SoEBeS logo to home page 2021-02-03 20:39:55 +08:00
techknowlogick 9ad1096505 add SoEBeS to footer 2021-02-03 20:38:36 +08:00
techknowlogick eeba6e927e Upload files to 'static/images' 2021-02-03 20:36:54 +08:00
Lunny Xiao 03273f97ff
Adjust the height of sponsors logos 2021-02-02 23:04:57 +08:00
techknowlogick a8426a045e Update 'layouts/home/index.html' 2021-02-02 22:01:56 +08:00