summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3b6c0ec)
simply set "nts" (short for No Title Suffix) when needed
<!--# set var="title" value="404 Not Found" -->
<!--# set var="title" value="404 Not Found" -->
+<!--# set var="nts" value="true" -->
<!--# include virtual="/ssi/pre0.html" -->
<nav><a href="/">bandali.eu.org</a></nav>
<main>
<!--# include virtual="/ssi/pre0.html" -->
<nav><a href="/">bandali.eu.org</a></nav>
<main>
-<!--# set var="title" value="home" -->
+<!--# set var="title" value="Amin Bandali's Personal Site" -->
+<!--# set var="nts" value="true" -->
<!--# include virtual="/ssi/pre.html" -->
<section id="intro">
<p>Hi, I'm Amin. I am currently a graduate student at the
<!--# include virtual="/ssi/pre.html" -->
<section id="intro">
<p>Hi, I'm Amin. I am currently a graduate student at the
<!--# include virtual="/ssi/pre0.html" -->
<!--# include virtual="/ssi/pre0.html" -->
-<header><!--# if expr="$title = home" -->
-<h1>Amin Bandali's Personal Site</h1>
+<header><!--# if expr="$title = Amin Bandali's Personal Site" -->
+<h1><!--# echo var="title" --></h1>
<!--# else -->
<strong><a href="/">Amin Bandali</a>'s Personal Site</strong>
<!--# endif --></header>
<!--# else -->
<strong><a href="/">Amin Bandali</a>'s Personal Site</strong>
<!--# endif --></header>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<!--# if expr="$title = home" -->
-<title>Amin Bandali's Personal Site</title>
-<!--# elif expr="$title = 404 Not Found" -->
-<title>404 Not Found</title>
-<!--# else -->
-<title><!--# echo var="title" --> — Amin Bandali</title>
-<!--# endif -->
+<title><!--# echo var="title" --><!--# if expr="$nts" --><!--# else --> — Amin Bandali<!--# endif --></title>
<link rel="icon" href="/gnu.ico"/>
<link rel="stylesheet" href="/style.css"/>
</head>
<link rel="icon" href="/gnu.ico"/>
<link rel="stylesheet" href="/style.css"/>
</head>