Skip to content

Commit

Permalink
fix: fail to replace license_url on gitlab (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
msclock committed Sep 18, 2023
1 parent fcf4f8c commit b1f9637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/variable.jinja
Expand Up @@ -31,7 +31,7 @@
[% if repo_host_type == 'github.com' -%]
[![GitHub](https://img.shields.io/github/license/{{ repo_namespace }}/{{ repo_name }})]({{ license_url() }})
[%- elif repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' -%]
[![GitLab](https://img.shields.io/gitlab/license/{{ repo_namespace }}/{{ repo_name }}?gitlab_url=https%3A%2F%2F{{ repo_host }})](license_url())
[![GitLab](https://img.shields.io/gitlab/license/{{ repo_namespace }}/{{ repo_name }}?gitlab_url=https%3A%2F%2F{{ repo_host }})]({{ license_url() }})
[%- endif -%]
[%- endmacro %]

Expand Down

0 comments on commit b1f9637

Please sign in to comment.