Skip to content

Add Open Graph protocol meta tags #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,300 changes: 1,150 additions & 1,150 deletions calibration.html

Large diffs are not rendered by default.

39 changes: 25 additions & 14 deletions contact.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<script src="js/loadscripts.js"></script>
</head>

<head>
<meta property="og:site_name" content="Teaching Tech's website">
<meta name="theme-color" content="#1b1f23">
<meta property="og:image" content="https://teachingtechyt.github.io/img/tt.png" />

<meta property="og:title" content="Contact Teaching Tech">
<meta property="og:description" content="This system has been implemented due my inbox being destroyed by an influx of tech support and review requests. Between emails, video comments and unsolicited Facebook messages I could easily do tech support full time, which means no time left to actually make videos. I feel it’s better for me to help many people with a video than to spend significant time trying to help individuals one on one.">
<meta property="og:url" content="https://teachingtechyt.github.io/contact.html">


<script src="js/loadscripts.js"></script>
</head>

<body>
<div id="menu"></div>
<div id="header"></div>
Expand All @@ -24,10 +35,10 @@ <h4>Contact Form</h4>
<tr>
<td style="width:15%">Nature of enquiry:</td>
<td><select name="entry.989224142" id="entry.989224142">
<option value="Review">Product review</option>
<option value="Request">Video request</option>
<option value="Misc">Miscellaneous</option>
</select></td>
<option value="Review">Product review</option>
<option value="Request">Video request</option>
<option value="Misc">Miscellaneous</option>
</select></td>
</tr>
<tr>
<td>Company:</td>
Expand Down Expand Up @@ -56,17 +67,17 @@ <h4>Contact Form</h4>
</form>
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;" onload="if(submitted) {}"></iframe>
<script type="text/javascript">
var submitted=false;
$('#contactForm').on('submit', function(e) {
$('#contactForm *').fadeOut(500);
$('#contactForm').prepend('<p>Your enquiry has been sent.</p>');
});
var submitted = false;
$('#contactForm').on('submit', function(e) {
$('#contactForm *').fadeOut(500);
$('#contactForm').prepend('<p>Your enquiry has been sent.</p>');
});
</script>
<div id="footer"></div>
</body>
<script>
var pageName = "Contact";
var pageTitle="Contact Teaching Tech";
var pageName = "Contact";
var pageTitle = "Contact Teaching Tech";
</script>
<script src="js/dynamic.js"></script>
<html>
21 changes: 16 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<script src="js/loadscripts.js"></script>
</head>

<head>
<meta property="og:site_name" content="Teaching Tech's website">
<meta name="theme-color" content="#1b1f23">
<meta property="og:image" content="https://teachingtechyt.github.io/img/tt.png" />

<meta property="og:title" content="Teaching Tech 3D Printer Site">
<meta property="og:description" content="Teaching Tech's web page.">
<meta property="og:url" content="https://teachingtechyt.github.io/">


<script src="js/loadscripts.js"></script>
</head>

<body>
<div id="menu"></div>
<div id="header"></div>
Expand All @@ -19,8 +30,8 @@
<div id="footer"></div>
</body>
<script>
var pageName = "Home";
var pageTitle="Teaching Tech 3D Printer Site";
var pageName = "Home";
var pageTitle = "Teaching Tech 3D Printer Site";
</script>
<script src="js/dynamic.js"></script>
<html>
22 changes: 17 additions & 5 deletions reviewpolicy.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<script src="js/loadscripts.js"></script>
</head>

<head>
<meta property="og:site_name" content="Teaching Tech's website">
<meta name="theme-color" content="#1b1f23">
<meta property="og:image" content="https://teachingtechyt.github.io/img/tt.png" />

<meta property="og:title" content="Teaching Tech Review Policy">
<meta property="og:description" content="This review policy has been in place for a coulple of years now. It has been refined based on experiences with dealing with various companies, and especially by dealing with the unscrupulous ones. Any manufacturer that contacts me to request a video on their product must agree to these terms before proceeding.">
<meta property="og:url" content="https://teachingtechyt.github.io/reviewpolicy.html">


<script src="js/loadscripts.js"></script>
</head>

<body>
<div id="menu"></div>
<div id="header"></div>
Expand All @@ -13,8 +24,9 @@
<div id="footer"></div>
</body>
<script>
var pageName = "Review Policy";
var pageTitle="Teaching Tech Review Policy";
var pageName = "Review Policy";
var pageTitle = "Teaching Tech Review Policy";
</script>
<script src="js/dynamic.js"></script>

</html>
25 changes: 16 additions & 9 deletions sponsors.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<script src="js/loadscripts.js"></script>
</head>

<head>
<meta property="og:site_name" content="Teaching Tech's website">
<meta name="theme-color" content="#1b1f23">
<meta property="og:image" content="https://teachingtechyt.github.io/img/tt.png" />

<meta property="og:title" content="Teaching Tech Sponsors">
<meta property="og:description" content="Consider supporting the companies who support Teaching Tech. Both of these companies supply me with free consumables in return for moderate exposure on my channel. I was a happy customer of each before entering sponsorship agreements. Full details are below for transparency.">
<meta property="og:url" content="https://teachingtechyt.github.io/sponsors.html">


<script src="js/loadscripts.js"></script>
</head>

<body>
<div id="menu"></div>
<div id="header"></div>
<div>

<p>Consider supporting the companies who support Teaching Tech. Both of these companies supply me with free consumables in return for moderate exposure on my channel. I was a happy customer of each before entering sponsorship agreements. Full details are below for transparency.</p>
<table class="sponsor">
<tr>
Expand Down Expand Up @@ -40,15 +50,12 @@ <h3>3D PRINTERS ONLINE - RESIN SUPPLIER</h3>
</td>
</tr>
</table>



</div>
<div id="footer"></div>
</body>
<script>
var pageName = "Sponsors";
var pageTitle="Teaching Tech Sponsors";
var pageName = "Sponsors";
var pageTitle = "Teaching Tech Sponsors";
</script>
<script src="js/dynamic.js"></script>
<html>
Loading