<commit_before># Morphism Hugo Theme

Morphism is a aesthetically minimal blog theme for the 
[static site generator Hugo](https://gohugo.io) that supports mathematical
typesetting. By utilizing copious partial templates the theme is 
largely customizable.

## Math

MathJax powers mathematical typesetting.  The TeX delimeters `$`
and `$$` can be used for inline / display math, respectively, or the escaped
LaTeX symbols `\\( ... \\)` and `\\[ ... \\]`.

## Color themes

Morphism provides a few built-in color themes, while also allowing for
user defined themes.  To use a color theme, set the site parameter
`morphismColorTheme` to the base color theme name.  
The list of built-in themes is: `midnight-blue`, `dark-midnight-blue`,
`default`, `black`, `orange`. 
For example, to use  the built-in `midnight-blue` color theme, 
your `config.toml` should include the snippet:

```toml
[params]
  colortheme = "midnight-blue"
```

This will tell Morphism to load the `css/morphism/colorthemes/midnight-blue.css`
file. Since Hugo gives preference to assets defined by the main site first,
and the theme second, Morphism's `midnight-blue` color theme can be 
overridden by simply copying the file into your site's 
`css/morphism/colorthemes/` directory and
manipulating the various color values to your tastes.

### User defined color themes

Similarly, you can set the value of `morphismColorTheme` 
to whatever you choose and create the corresponding css color theme file.  
For example
```toml
[params]
  colortheme = "mytheme"
```
will load `css/morphism/colorthemes/mytheme.css`


## Site Variables

This theme recognizes and attempts to use several Site variables, as follows:

- `author` map:  The theme uses the `name` and `uri` keys of the site author
   map for pages that do not explicitly set author data.  The `name`
   value is wrapped in the uri, if the later is set.  See the example site
   config to see how this is set.<commit_msg>README formatting.<commit_after># Morphism Hugo Theme

Morphism is a aesthetically minimal blog theme for the 
[static site generator Hugo](https://gohugo.io) that supports mathematical
typesetting. By utilizing copious partial templates the theme is 
largely customizable.

## Math

MathJax powers mathematical typesetting.  The TeX delimeters `$`
and `$$` can be used for inline / display math, respectively, or the escaped
LaTeX symbols `\\( ... \\)` and `\\[ ... \\]`.

## Color themes

Morphism provides a few built-in color themes, while also allowing for
user defined themes.  To use a color theme, set the site parameter
`morphismColorTheme` to the base color theme name.  
The list of built-in themes is: `midnight-blue`, `dark-midnight-blue`,
`default`, `black`, `orange`. 
For example, to use  the built-in `midnight-blue` color theme, 
your `config.toml` should include the snippet:

```toml
[params]
  colortheme = "midnight-blue"
```

This will tell Morphism to load the `css/morphism/colorthemes/midnight-blue.css`
file. Since Hugo gives preference to assets defined by the main site first,
and the theme second, Morphism's `midnight-blue` color theme can be 
overridden by simply copying the file into your site's 
`css/morphism/colorthemes/` directory and
manipulating the various color values to your tastes.

### User defined color themes

Similarly, you can set the value of `morphismColorTheme` 
to whatever you choose and create the corresponding css color theme file.  

For example
```toml
[params]
  colortheme = "mytheme"
```
will load `css/morphism/colorthemes/mytheme.css`


## Site Variables

This theme recognizes and attempts to use several Site variables, as follows:

- `author` map:  The theme uses the `name` and `uri` keys of the site author
   map for pages that do not explicitly set author data.  The `name`
   value is wrapped in the uri, if the later is set.  See the example site
   config to see how this is set.
{'fraction_non_alphanumeric': 0.08427254098360656, 'fraction_numerical': 0.0, 'mean_word_length': 4.165343915343915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '842045', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1112, 'n_words': 524}