How to implement a custom search for Hugo usig Gruntjs and Lunrjs.
Install the following tools:
server { | |
listen 80; | |
server_name vik.example.com; | |
return 301 https://vik.example.com$request_uri; | |
} | |
server { | |
listen [::]:443 ssl http2; | |
listen 443 ssl http2; | |
server_name vik.example.com; |
#!/bin/bash | |
# Version 0.21.0 8:26 PST, Nov 9, 2018 | |
# inspried from this forum post https://discourse.gohugo.io/t/script-to-install-latest-hugo-release-on-macos-and-ubuntu/14774/10 | |
# if you have run into github api anonymous access limits which happens during debugging/dev then add user and token here or sourced from a separate file | |
# . ~/githubapitoken | |
#GITHUB_USER="" | |
#GITHUB_TOKEN="" | |
if [ "$GITHUB_TOKEN" != "" ]; then | |
echo using access token with script |
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
@charset "UTF-8"; | |
/* Web Font stacks */ | |
/* The Times New Roman-based serif stack: */ | |
font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; | |
/* A modern Georgia-based serif stack:*/ | |
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif; | |
/*A more traditional Garamond-based serif stack:*/ |