Skip to content

Commit

Permalink
Add button to frontpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve0Greatness committed Sep 5, 2024
1 parent c760aec commit 1fa0358
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
10 changes: 10 additions & 0 deletions headpages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ suggestions? Join the [Discord](https://discord.gg/f4b4e2Nudk)!
Have a fix or suggestion for the wiki? Both issues and PRs are open on the
[GitHub repository](https://github.com/nekowebwiki/wikigen).

## Link to the wiki!

To link to the wiki, you can add the wiki button.

<a href="https://wiki.nekoweb.org/"><img src="https://wiki.nekoweb.org/button.webp" width="81" height="33"></a>

```html
<a href="https://wiki.nekoweb.org/"><img src="https://wiki.nekoweb.org/button.webp" width="81" height="33"></a>
```

24 changes: 24 additions & 0 deletions static/code.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
Copyright 2024 Nekoweb Wiki
This software is licensed under the 3-clause BSD license.
You should have recieved a copy of such license with this software,
if you did not, a copy can be found at the following
https://opensource.org/license/BSD-3-Clause
Otherwise, a copy of the license can be found in the root directory
of the source files, see
https://github.com/NekowebWiki/WikiGen
*/
.codehilite pre {
white-space: pre-wrap;
margin: 0;
}

.codehilite {
background-color: #0007;
color: #fff;
padding: 5px
}
1 change: 1 addition & 0 deletions views/_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/>
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="/wiki-onionring.css" defer="defer" />
<link rel="stylesheet" href="/code.css" defer="defer" />
<link
rel="stylesheet"
href="/mobile.css"
Expand Down

0 comments on commit 1fa0358

Please sign in to comment.