Placed here for safe keeping
include sites-available/ssl/files.kiwiheretic.com.*.conf;
server {
# From arbor.webqurst.co.nz.conf | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name arbor.webquest.co.nz; | |
gzip on; | |
gzip_types text/plain text/javascript application/x-javascript application/xml application/javascript text/css; |
<!doctype html> | |
<html lang="{{ htmllang() }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
{# make sure we always display a proper title: The record's title if there is one, appended with the | |
sitename. If there is no title, we append the sitename with the payoff, if there is one. #} | |
<title> | |
{%- if record.title is defined %}{{ record.title|striptags }} | {% endif -%} | |
{{ config.get('general/sitename') -}} |
{% extends 'partials/_master.twig' %} | |
{% block main %} | |
<section class="section"> | |
<div class="container"> | |
<div class="columns"> | |
<div class="column is-two-thirds"> | |
{# Remove this include if you don't need it anymore. #} |
To add new repository to git
$ git init
$ git add <file>
$ git commit -m "Initial Commit"
$ git remote add origin <remote url>
$ git push --set-upstream origin master
A good website to convert shapefiles into GeoJSON files
Most of these instructions taken from this website but I am using MySQL rather than MariaDB.
$ sudo apt install phpmyadmin
I elected to run db-common when asked but did not choose a webserver as nginx wasn't on list.
Then I added the following nginx conf script