site/wiki/edit_index.html

42 lines
1.7 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="vielmetti" />
<title>Editing your index.html file</title>
<link rel="stylesheet" href="/style.css">
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<a href="/wiki/">&lt; back to wiki home</a>
<header>
<h1 class="title">Editing your index.html file</h1>
<p>authors:</p>
<p class="author"><a href="/~vielmetti/">~vielmetti</a></p>
</header>
<p>Type: <code>nano</code> index.html to open your index.html file and begin editing</p>
<figure>
<img src="https://tilde.club/~annika/static/nano.png" alt="screenshot of the nano editor" /><figcaption>screenshot of the nano editor</figcaption>
</figure>
<p>Edit your file, willy nilly</p>
<p>When done editing, use <code>CTRL+X</code> to close the file</p>
<p>Youll be asked if you want to save; say y and [return] to return to the command line</p>
<p>Refresh your tilde page in your browser to see your new website</p>
<p>Note: If at any time you feel you made a mistake in editing, you can exit and n to not save.</p>
<p>Theres more info here about the nano editor; if youre familiar with emacs or vim they are here too.</p>
</body>
</html>