Releases: chemplusplus/chemplusplus.github.io
Releases · chemplusplus/chemplusplus.github.io
First Chem++ Release
The site was updated for the release of Chem++, including download links to the .zip
I ran into trouble with making the <a>
element download the file instead of opening it, or taking you to raw.
my first attempt was using:
<a href="link/to/your/download/file" download="filename">Download link</a>
when that failed I used
<a href="http://example.com/files/myfile.pdf" target="_blank">Download</a>
Finally I found the link from inspecting element on the repo
SEO Update
Started this update by improving the <head>
tag and cleaning the code
The current contents of the <head>
are the following:
<meta name="tags" content="Chem++, chemplusplus, chem plus plus">
<meta name="author" content="Markus Frigaard">
<meta name="description" content="Chem++ is the new industry standard when it comes to learning high school chemistry. With our easy to use interface, our users can access everything they need for studying, all in one application without needing to open up multiple texts books or browsers. Chem++ will be the future of high school chemistry.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>Chem++</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="dropdown.css">
<link href="prism.css" rel="stylesheet" />
<link rel="shortcut icon" type="image/png" href="./favicon/favicon-32x32.png" />
<link rel="apple-touch-icon" type="image/png" href="./favicon/apple-touch-icon.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://kit.fontawesome.com/393a279287.js" crossorigin="anonymous"></script>
<script async src="https://api.countapi.xyz/hit/chemplusplus.github.com/index.html/visits? callback=pagevisits"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RVY425SCJZ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RVY425SCJZ');
</script>
The following tags may be removed in the future to declutter and improve loading times on pages that do not need them:
<meta name="tags" content="Chem++, chemplusplus, chem plus plus">
<meta name="author" content="Markus Frigaard">
<meta name="description" content="Chem++ is the new industry standard when it comes to learning high school chemistry. With our easy to use interface, our users can access everything they need for studying, all in one application without needing to open up multiple texts books or browsers. Chem++ will be the future of high school chemistry.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>Chem++</title>
<link rel="stylesheet" href="dropdown.css">
<link href="prism.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script async src="https://api.countapi.xyz/hit/chemplusplus.github.com/index.html/visits? callback=pagevisits"></script>
1.1
Release 1.0.1
chemplusplus.github.io Version 1.0.1
What's New!
- Fixed redirect links using JavaScript
onclick=""
functions
-- To see this in action take a look at redirects.js
Quick example:
function DocumentationRedirect() {
location.replace("https://github.com/Chemplusplus/Chemplusplus#documentation")
}
<li title="Documentation" class="menu"><a onclick="DocumentationRedirect()">Documentation</a></li>
- Added Favicon
Release 1.0
The first release of the Chem++ website