RestApiTutorial.com
HTML Source code for www.RestApiTutorial.com
Install / Use
/learn @tfredrich/RestApiTutorial.comREADME
RestApiTutorial.com
Hugo source for www.RestApiTutorial.com. This repo also contains the downloadable formats (PDF/ePub/Mobi/ODT) for the RESTful Best Practices document.
Key pages:
Project layout highlights:
content/holds Hugo pages and section indexes.layouts/contains site-specific theme overrides.static/includes assets copied verbatim.media/stores the downloadable book formats.public/is generated output and should not be edited by hand.tools/contains internal (and local) tools for the project.
Contributor notes:
- Read
AGENTS.mdbefore making changes. - This site uses the project-local
./bin/hugowrapper (vendored Hugo v0.147.7 in tools/hugo) and the Hugo-Relearn theme v8.3.0; later versions MAY break the build. - Contributors MUST download Hugo into
tools/before development.
Run the site locally:
./bin/hugo server -D
Ad placement notes:
- Top ads render in
layouts/partials/heading-pre.html, which preservesheadingPrefront matter and inserts the ad unless disabled. - Bottom ads render in
layouts/partials/content.htmlunless disabled. - Ad units read from
params.adsenseinconfig.toml:
[params.adsense]
client = "ca-pub-2093481943685202"
topSlot = "YOUR_TOP_SLOT_ID"
bottomSlot = "YOUR_BOTTOM_SLOT_ID"
- Disable ads per page with front matter:
headingPre: "<span>Optional custom HTML before the title</span>"
disableTopAd: true
disableBottomAd: true
Download Hugo 0.147.7 into tools/hugo (macOS):
mkdir -p tools/hugo
curl -L -o /tmp/hugo_0.147.7.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.147.7/hugo_extended_0.147.7_darwin-universal.tar.gz
tar -xzf /tmp/hugo_0.147.7.tar.gz -C tools/hugo
rm /tmp/hugo_0.147.7.tar.gz
Download Hugo 0.147.7 into tools/hugo (Linux x86_64):
mkdir -p tools/hugo
curl -L -o /tmp/hugo_0.147.7.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.147.7/hugo_extended_0.147.7_linux-amd64.tar.gz
tar -xzf /tmp/hugo_0.147.7.tar.gz -C tools/hugo
rm /tmp/hugo_0.147.7.tar.gz
Download Hugo 0.147.7 into tools/hugo (Linux arm64):
mkdir -p tools/hugo
curl -L -o /tmp/hugo_0.147.7.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.147.7/hugo_extended_0.147.7_linux-arm64.tar.gz
tar -xzf /tmp/hugo_0.147.7.tar.gz -C tools/hugo
rm /tmp/hugo_0.147.7.tar.gz

This work by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.restapitutorial.com/" property="cc:attributionName" rel="cc:attributionURL">RestApiTutorial.com</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
