037e520beb
Use version from git-describe to better identify builds
continuous-integration/drone/push Build is passing
2023-04-14 00:39:47 +02:00
Valentin Brandl
4ddaa84e5f
Use new aliases for template functions
...
`page.rs.html` used to result in a function `templates::page`.
Since ructe 0.7.2, `templates::page_html` was used and now the old alias
has been removed.
2023-01-30 09:22:45 +01:00
Valentin Brandl
558137e2ee
Allow customization of the badge label
2023-01-16 09:54:04 +01:00
Valentin Brandl
b001db6558
Merge branch 'master' into feature/ructe-static
2022-08-22 12:28:56 +02:00
Valentin Brandl
391bb6faeb
Use ructe static file support to serve static files with hashes and caching
2022-08-21 13:48:03 +02:00
Valentin Brandl
d4248df45a
Use helper struct to reduce template parameters
2022-08-19 10:34:37 +02:00
Valentin Brandl
dbbbdad3fa
Allow providing a branch name in generator
2022-08-18 14:07:07 +02:00
Valentin Brandl
44d47b1d5f
Implement badges for sourcehut
2021-09-03 11:44:22 +02:00
Valentin Brandl
62c80a81de
Change link to gpg key
2021-06-10 12:10:00 +02:00
Dragoș Străinu
8dadc0ddea
fix: remove redundant param in md url
2021-03-22 00:16:31 +02:00
Valentin Brandl
14cd21dc1c
Make paths consistent
continuous-integration/drone/push Build is passing
2020-11-24 19:13:08 +01:00
Valentin Brandl
8e78d13443
Make full base URL configurable
2020-11-24 19:06:42 +01:00
Valentin Brandl
c9a54eda49
Allow requesting badges for branches != master
...
This changed the cache structure to allow caching data for multiple
branches. The service still assumes a default branch named `master` but
using the `branch` get parameter, the default branch can be changed.
The 404 page for the missing `master` branch was changed to explain the
new parameter.
2020-07-20 20:14:22 +02:00
Valentin Brandl
349640acc5
Implement endpoint for cache deletion
continuous-integration/drone/push Build is passing
2020-05-15 13:15:54 +02:00
Valentin Brandl
6896a22409
Handle non-existent master branch
2020-02-12 20:56:47 +01:00
Valentin Brandl
bbf5bba490
Reduce number of parameters
continuous-integration/drone/push Build is pending
2019-11-25 17:27:16 +01:00
Valentin Brandl
c5bbd14a05
Update documentation for the JSON endpoint
2019-07-07 13:36:14 +02:00
Valentin Brandl
ed1cafafd0
Show commit count in overview page
2019-07-07 13:29:03 +02:00
Valentin Brandl
21243e6cfb
Document JSON endpoint on index page
2019-06-16 15:00:46 +02:00
Valentin Brandl
284e41c591
Fix footer structure
2019-06-12 21:57:24 +02:00
Valentin Brandl
60dc242e5a
Add repo count to templates
2019-06-12 21:50:45 +02:00
Valentin Brandl
d6835b96de
Refactor into smaller modules
2019-05-14 01:11:39 +02:00
Valentin Brandl
eb0ee4b31d
Add generator and result page
2019-05-04 15:38:00 +02:00
Valentin Brandl
1f807a14fb
Use version info struct
2019-04-30 14:20:11 +02:00
Valentin Brandl
fd6f58ca9c
Add overview template
2019-04-29 20:38:05 +02:00
Valentin Brandl
39f11c14f5
Fix css path
2019-04-26 15:48:29 +02:00
Valentin Brandl
8d7f696dea
Make domain name configurable
...
The domain name can be set using the `--domain` or `-d` flags. It
defaults to `hitsofocode.com`.
Also the CLI options are now parsed inside a lazy_static context to be
available for the templates.
2019-04-23 22:50:51 +02:00
Valentin Brandl
3990ea0a12
Add templates
2019-04-23 18:19:54 +02:00