Check out the blog entry about Facebook Open Graph and Twitter Card integration with blog/sites:
http://vietlq.github.io/2017/04/30/access-hugo-page-variables/
Code change here is based hugo-geo theme: https://github.com/alexurquhart/hugo-geo
| <Project Sdk="Microsoft.NET.Sdk.Web"> | |
| <PropertyGroup> | |
| <TargetFramework>net8.0</TargetFramework> | |
| <Nullable>enable</Nullable> | |
| <ImplicitUsings>enable</ImplicitUsings> | |
| <InvariantGlobalization>true</InvariantGlobalization> | |
| </PropertyGroup> | |
| <ItemGroup> |
| ''' we're solving fizzbuzz with a little help from the web ''' | |
| from html.parser import HTMLParser | |
| from urllib.request import Request, urlopen | |
| import re | |
| import time | |
| base_url = 'https://www.answers.com/Q/' | |
| tag_name = 'div' | |
| class_name = 'answer-body' | |
| delimiter = '_' |
Check out the blog entry about Facebook Open Graph and Twitter Card integration with blog/sites:
http://vietlq.github.io/2017/04/30/access-hugo-page-variables/
Code change here is based hugo-geo theme: https://github.com/alexurquhart/hugo-geo
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000