mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-22 14:33:51 +00:00
About menu; fixed regex for platform on import url
This commit is contained in:
parent
5510d5be89
commit
40f24233b1
11
index.html
11
index.html
@ -118,6 +118,17 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<hr>
|
||||
<li class="dropdown dropdown-submenu">
|
||||
<a tabindex="-1" href="#">About</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" target="_8bws_about" href="https://8bitworkshop.com/">8bitworkshop.com</a></li>
|
||||
<li><a class="dropdown-item" target="_8bws_about" href="https://8bitworkshop.com/blog">Latest News</a></li>
|
||||
<li><a class="dropdown-item" target="_8bws_about" href="https://8bitworkshop.com/projects">Projects</a></li>
|
||||
<li><a class="dropdown-item" target="_8bws_about" href="https://twitter.com/8bitworkshop">Twitter</a></li>
|
||||
<li><a class="dropdown-item" target="_8bws_about" href="https://github.com/sehugg/8bitworkshop">GitHub</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!--
|
||||
<hr><li><a class="dropdown-item" href="/redir.html">Use Latest Version</a></li>
|
||||
-->
|
||||
|
@ -197,7 +197,7 @@ export class GithubService {
|
||||
}
|
||||
// check README for proper platform
|
||||
// unless we use githubURL=
|
||||
const re8plat = /8bitworkshop.com[^)]+platform=(\w+)/;
|
||||
const re8plat = /8bitworkshop.com[^)]+platform=([A-Za-z0-9._\-]+)/;
|
||||
m = re8plat.exec(readme);
|
||||
if (m) {
|
||||
console.log("platform id: '" + m[1] + "'");
|
||||
|
Loading…
Reference in New Issue
Block a user