mirror of
https://github.com/orhun/git-cliff.git
synced 2024-11-25 12:22:44 +03:00
style(website): use a short link for reporting issues
This commit is contained in:
parent
6d3354ca1b
commit
ba83c8ae71
@ -172,7 +172,7 @@ impl<'a> Changelog<'a> {
|
||||
.map(|v| v.contains_github_variable())
|
||||
.unwrap_or(false)
|
||||
{
|
||||
warn!("You are using an experimental feature! Please report bugs at <https://github.com/orhun/git-cliff/issues/new/choose>");
|
||||
warn!("You are using an experimental feature! Please report bugs at <https://git-cliff.org/issues>");
|
||||
let github_client =
|
||||
GitHubClient::try_from(self.config.remote.github.clone())?;
|
||||
info!("{START_FETCHING_MSG} ({})", self.config.remote.github);
|
||||
|
56
website/static/issues/index.html
Normal file
56
website/static/issues/index.html
Normal file
@ -0,0 +1,56 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
http-equiv="refresh"
|
||||
content="0; url=https://github.com/orhun/git-cliff/issues/new/choose"
|
||||
/>
|
||||
<title>Redirecting...</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f4f4f4;
|
||||
text-align: center;
|
||||
padding-top: 50px;
|
||||
}
|
||||
.container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
}
|
||||
h1 {
|
||||
color: #333;
|
||||
}
|
||||
p {
|
||||
color: #666;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
a {
|
||||
display: inline-block;
|
||||
background-color: #4caf50;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
a:hover {
|
||||
background-color: #45a049;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Redirecting...</h1>
|
||||
<p>If you are not redirected automatically, click the button below:</p>
|
||||
<a href="https://github.com/orhun/git-cliff/issues/new/choose"
|
||||
>Click here to redirect ⛰</a
|
||||
>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user