This is just a sample page with some details about the template for the pages for future pages.
Table of Contents
[[TOC]]
Equations
$$ \nabla \times \vec{B} = \mu_0 J + \mu_0 \epsilon_0\frac{ \partial{\vec{E}}}{\partial t} $$
$$ \nabla \cdot \vec{B} = 0 $$
$$ \nabla \times \vec{E} = - \frac{\partial B}{\partial t} $$
$$ \nabla \cdot \vec{E} = \frac{\rho}{\epsilon_0} $$
$$ \phi = \frac{(1+\sqrt{5})}{2} = 1.6180339887\cdots $$
$$ f(x) = \int_{-\infty}^\infty\hat f(\xi),e^{2 \pi i \xi x},d\xi $$
$$ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } $$
$$ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1. $$
Programming
1 var num1, num2, sum
2 num1 = prompt("Enter first number")
3 num2 = prompt("Enter second number")
4 sum = parseInt(num1) + parseInt(num2) // "+" means "add"
5 alert("Sum = " + sum) // "+" means combine into a string
a=1; this is another programming box
Gallery
- Create a gallery with open and close tags
{{< gallery >}}
and{{< /gallery >}}
{{< figure src="image.jpg" >}}
will useimage.jpg
for thumbnail and lightbox{{< figure src="thumb.jpg" link="image.jpg" >}}
will usethumb.jpg
for thumbnail andimage.jpg
for lightbox{{< figure thumb="-small" link="image.jpg" >}}
will useimage-small.jpg
for thumbnail andimage.jpg
for lightbox- All the features/parameters of Hugo’s built-in
figure
shortcode work as normal, i.e. src, link, title, caption, class, attr (attribution), attrlink, alt {{< gallery caption-effect="fade" >}}
will fade in captions for all figures in this gallery instead of the default slide-up behavior- Many gallery styles for captions and hover effects exist; view the hugo-easy-gallery GitHub for all options
- Call
{{< load-photoswipe >}}
once anywhere you want on each page where you want to use PhotoSwipe
Visit the following link to be able to write formulae. https://khan.github.io/KaTeX/