June, 2019
Web pages are now viewed on a wide variety of screen sizes, and as such, it is best if the web page design adapts to the given screen size.
Every course account that is created on the math server includes two sample webpages, responsive by design. The contents of any of these archives can/will replace that of your course public_html directory. Of course you can always design your own web page, but it is important for each course to have a web presence, even if you will be linking it to Canvas. The samples provided can be seen by selecting the links below.
MathJax is available locally, on gauss. It is already automatically included in every standard Math Dept. website page.
To activate MathJax on other pages (course or personal web pages, for example) copy and paste the following <script>
line into <head>
section of your web page:
<script src="/include/MathJax/MathJax.js?config=default" type="text/javascript"></script>
You can make a directory of your website accessible only after authentication with NetID:
restricted
;.htaccess
(note the starting dot);.htaccess
:AuthType CAS
require valid-user
Navigating to https://math.dartmouth.edu/~yourwebpage/restricted
now will request authentication with Dartmouth NetID.