Skip to main content

Creates the country pages, listing mathematicians by birth country.

Project description


Creates the country pages, listing mathematicians by birth country.

Note: Requires a rebuild of the entire site if an existing mathematician country is modified

This plugin is currently one big hack. It would be nice to use the standard Lektor pad.query(...).filter( == ...) to discover the mathematicians that were born in each country. However, if doing this, the build process becomes unbearably slow. Upon investigation, it's not the query or the filtering that takes up the time, it's actually adding all the biographies as dependencies of each country page that takes the time.

This may be able to be optimised by better indexing the database or similar, further investigation is required for this.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lektor-mathshistory-countries, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size lektor_mathshistory_countries-1.0.0-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size lektor-mathshistory-countries-1.0.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page