Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09f708f

Browse files
committed
feat: Replace tag in cover pages and add styling
1 parent 7542ed6 commit 09f708f

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

β€Ždocs/_coverpage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![icon](_media/docs_face.png)
22

3-
# Docsify Template <small>v1.2.0</small>
3+
# Docsify Template [![GitHub release](https://img.shields.io/github/tag/MichaelCurrin/docsify-template.svg)](https://GitHub.com/MichaelCurrin/docsify-template/tags/)
44
> Tutorial for turning your project's docs folder into a docs site
55
66
- :hourglass_flowing_sand: Minimal effort to setup in a few minutes

β€Ždocs/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
section.cover.show {
1818
height: 100%;
1919
}
20+
/* Override Docsify's block styling so that cover badge does not wrap. */
21+
section.cover h1 a {
22+
display: inline;
23+
}
2024

2125
</style>
2226
</head>

β€Žquickstart/_coverpage.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<!-- TODO: Set project title and the description. Delete the small tag if you don't need it. -->
2-
# My Project Name <small>vX.Y.Z</small>
1+
<!-- TODO: Set project title and the description. For Github release, replace USERNAME and REPO-NAME, or delete the line. -->
2+
# My Project Name
3+
4+
[![GitHub release](https://img.shields.io/github/tag/USERNAME/REPO-NAME.svg)](https://GitHub.com/USERNAME/REPO-NAME/tags/)
5+
36
> My project description
47
58
<!-- TODO: List zero or more short sentences about the project's benefits/features. -->
@@ -8,5 +11,5 @@
811
- Feature
912
- Feature
1013

11-
[GitHub](https://github.com/USERNAME/REPO_NAME/) <!-- TODO: Use your repo's path.-->
14+
[GitHub](https://github.com/USERNAME/REPO-NAME/) <!-- TODO: Use your repo's path.-->
1215
[Getting Started](#my-project-name) <!-- TODO: Use ID of homepage heading i.e. based on H1 of README.md -->

β€Žquickstart/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
section.cover.show {
2020
height: 100%;
2121
}
22+
/* Override Docsify's block styling so that cover badge does not wrap. */
23+
section.cover h1 a {
24+
display: inline;
25+
}
2226

2327
</style>
2428
</head>

0 commit comments

Comments
Β (0)