README.md (1523B) - raw


      1 # Personal website
      2 
      3 This repository is the source code for my [personal website][pw]. The site is
      4 generated by `gensite.py`, a program based on [makesite.py][ms] (which is a very
      5 bare-bones static site generator).
      6 
      7 ## Dependencies
      8 
      9 To generate the site all you need is Python 3.
     10 
     11 ## Other notes
     12 
     13 The font used for the logo is "Libre Baskerville" in bold. The `woff2` file used
     14 for the font only includes the needed letters for the logo ("BOacdeinorst") to
     15 keep the file size small (2.5 KiB). To create such file, you can use the
     16 following command:
     17 
     18 ```sh
     19 pyftsubset LibreBaskerville-Bold.ttf \
     20   --unicodes=U+004F,U+0073,U+0063,U+0061,U+0072,U+0042,U+0065,U+006E,U+0064,U+0069,U+0074,U+006F \
     21   --output-file=<output-font-file>.woff2 --flavor=woff2
     22 ```
     23 
     24 You might need to run `pip3 install fonttools brotli` to install the
     25 dependencies.
     26 
     27 ## License
     28 
     29 The contents of this repositories are licensed under the [GNU Affero General
     30 Public License version 3][agpl] or (at your option) any later version.
     31 
     32 More specifically, the contents of my pages (in the contents folder) are
     33 licensed under the [Creative Commons Attribution 4.0 International
     34 License][cc-by].
     35 
     36 [pw]: <https://oscarbenedito.com> "Oscar Benedito's personal website"
     37 [ms]: <https://github.com/sunainapai/makesite> "makesite by Sunaina Pai — GitHub"
     38 [agpl]: <https://www.gnu.org/licenses/agpl-3.0.html> "GNU Affero General Public License version 3"
     39 [cc-by]: <https://creativecommons.org/licenses/by/4.0/> "Creative Commons Attribution 4.0 International License"