This is a page summary, it should show up in the main posts area and provide readers with a preview.
Some examples
TOML
[extra]
[extra.papermod]
title = "PaperMod"
default_theme = "auto"
theme = "light"
language_direction = "auto"
keywords = ["keyword1", "keyword2", "keyword3"]
disable_theme_toggle = false
show_code_copy_buttons = true
show_reading_time = true
show_word_count = false
show_post_nav_links = true
show_post_meta = true
default_toc_open = false
edit_post_url = "https://github.com/cydave/zola-theme-papermod/tree/master"
copyright = ""
date_format = "%Y-%m-%d"
YAML
- martin:
name: Martin D'vloper
job: Developer
skills:
- python
- perl
- pascal
- tabitha:
name: Tabitha Bitumen
job: Developer
skills:
- lisp
- fortran
- erlang
With Line Numbers
98 class MockResponse:
99 """Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`.
100 ...what? Basically, expose the parsed HTTP headers from the server response
101 the way `cookielib` expects to see them.
102 """
103
104 def __init__(self, headers):
105 """Make a MockResponse for `cookielib` to read.
106 :param headers: a httplib.HTTPMessage or analogous carrying the headers
107 """
108 self._headers = headers
109
110 def info(self):
111 return self._headers
112
113 def getheaders(self, name):
114 self._headers.getheaders(name)