commit 6c61ba6fa764ac9fdbeed51dfe226383a695144c Author: Idaapayo Date: Tue Apr 27 21:13:11 2021 +0300 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7f22ece --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pelican +__pycache__ +*.pyc +*.o \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..73f69e0 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/grassroots-pelican.iml b/.idea/grassroots-pelican.iml new file mode 100644 index 0000000..71a21c8 --- /dev/null +++ b/.idea/grassroots-pelican.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..4b7fc8b --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,15 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..7e251ff --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..dcea759 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..07a0457 --- /dev/null +++ b/Makefile @@ -0,0 +1,72 @@ +PY?=python3 +PELICAN?=pelican +PELICANOPTS= + +BASEDIR=$(CURDIR) +INPUTDIR=$(BASEDIR)/content +OUTPUTDIR=$(BASEDIR)/output +CONFFILE=$(BASEDIR)/pelicanconf.py +PUBLISHCONF=$(BASEDIR)/publishconf.py + + +DEBUG ?= 0 +ifeq ($(DEBUG), 1) + PELICANOPTS += -D +endif + +RELATIVE ?= 0 +ifeq ($(RELATIVE), 1) + PELICANOPTS += --relative-urls +endif + +SERVER ?= "0.0.0.0" + +PORT ?= 0 +ifneq ($(PORT), 0) + PELICANOPTS += -p $(PORT) +endif + + +help: + @echo 'Makefile for a pelican Web site ' + @echo ' ' + @echo 'Usage: ' + @echo ' make html (re)generate the web site ' + @echo ' make clean remove the generated files ' + @echo ' make regenerate regenerate files upon modification ' + @echo ' make publish generate using production settings ' + @echo ' make serve [PORT=8000] serve site at http://localhost:8000' + @echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 ' + @echo ' make devserver [PORT=8000] serve and regenerate together ' + @echo ' make devserver-global regenerate and serve on 0.0.0.0 ' + @echo ' ' + @echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html ' + @echo 'Set the RELATIVE variable to 1 to enable relative urls ' + @echo ' ' + +html: + "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +clean: + [ ! -d "$(OUTPUTDIR)" ] || rm -rf "$(OUTPUTDIR)" + +regenerate: + "$(PELICAN)" -r "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +serve: + "$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +serve-global: + "$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) -b $(SERVER) + +devserver: + "$(PELICAN)" -lr "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +devserver-global: + $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -b 0.0.0.0 + +publish: + "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) + + +.PHONY: html help clean regenerate serve serve-global devserver publish \ No newline at end of file diff --git a/content/blog/blog_1.rst b/content/blog/blog_1.rst new file mode 100644 index 0000000..25d5611 --- /dev/null +++ b/content/blog/blog_1.rst @@ -0,0 +1,22 @@ +Grassroots Economics has a New Director: Shaila Agha +###################################################### + +:date: 2021-04-08 +:tags: organization, directors, staff, mission +:author: Shaila Agha +:slug: grassroots-economics-has-a-new-director-shalia-agha + +.. image:: /images/shaila_agha.webp + :align: center + +When I was 9 years old, my mother came home one day with a monopoly board game. It was the beginning of the March holidays and she wanted to provide us with an alternative activity to watching cartoons. Every day after that, my brother and I would insistently play game after game; holding on to our colourful money as if our future depended on it. Like all children, we eventually lost interest in the game. However, the colorful currency notes then became our most valuable asset. We used it as a means of exchange to incentivize each other to do each other's chores, as a rental fee to play with shared toys and even for buying candy off each other. We lived in the middle of rural Kenya, with almost no neighbours or shops, we therefore had no access to national currency. We clearly understood however, that currency (even play money) is merely a medium of exchange; with its value being determined by the users; namely us. + +Sarafu the pioneering Community Inclusion Currency (CIC) in Kenya, is not so different from the monopoly money my sibling and I used all those years ago. Vulnerable households and communities have no access to credit due to a cycle of poverty that has systematically excluded them from the economy. “Hand a man a fish, he eats for the day, teach him to fish, and he can eat for a lifetime” CIC aims to include the untapped markets who desperately need goods and services yet lack the capacity to pay for them. By including them in the economy, not only do they become empowered, they are given an opportunity to actively participate in value creation and change their lives. The work of Grassroots Economics has not gotten the attention it deserves from national and regional governments as well as partners in finance and technology spaces. I seek to put an end to that and make sure that field tested best practices and open source technology spread wide and far to heal our society and planet. + +When I was studying Fintech disruptions in traditional finance systems at Oxford, I decided to start my course by asking the question, ‘How does money affect social order and why is money necessary at all’. CICs are seen as radical reforms to broken systems, they are however, a proven working alternative that is demonstrating a major impact on the power distribution in the local economy. I am eager to measure the impact and get firsthand grassroot evidence on its successes and failures. With a long term multiplier effect of more than 21 times traditional donor aid assistance, this intervention seems to do what donor aid has failed to in the past, create self sufficiency and self reliance. Most importantly we need all hands on deck focused on education and regenerative agriculture programs across the planet and we need a financial system to finance this, create sustainable economies and fair distribution of our common resources. + +In 2015, I attended a KIICO conference on trade and development. My angle, to understand the Kenyan economy and the government policies in place to promote technology in Finance. I carried a journal with me, a notepad that I scribbled names in that I should research later. Grassroots Economics was on that list, along with other NGOs and organizations that were on a difficult mission to create a circular economy. In 2020, after five years of working in the humanitarian space, I met Will Ruddick, adamant on wealth redistribution and regenerative economics and began advising the organization. + +It is an honor to work as a Director along with Will and the Grassroots Economics team in their endeavor to rebalance the inequalities existing in our current economy and empower those who are most in need. To tackle today’s challenges, we need not only new solutions, but new methods at arriving at solutions. Data and data science will be at the forefront at meeting these challenges and to social innovation, humanitarian aid and international development. + +*Shaila is an ocean loving global citizen trained in disruptive Financial systems, she has a keen interest in transformative agriculture and conservation. Her love for science and children led her to create a beginner science lab kit that she aims to launch in primary schools countrywide alongside an activity booklet called “The science of life”. She has held various roles in International organizations and private organizations from business development to analyst roles, all of which revolved around developing alternative financial systems and sustainability. You can find out more information about her here* . \ No newline at end of file diff --git a/content/blog/redcross_will.rst b/content/blog/redcross_will.rst new file mode 100644 index 0000000..fd24422 --- /dev/null +++ b/content/blog/redcross_will.rst @@ -0,0 +1,123 @@ +Red Cross brings Community Currency to Kisauni +############################################### + +:date: 2021-04-25 +:tags: Red Cross, Kisauni, Covid +:author: Will Ruddick +:slug: red-cross-brings-community-currency-to-kisauni + +Below are a compilation of Community Inclusion Currency (CIC) user stories from Grassroots Economics Field Support Engineers *(Emmanuel Mbui, Amina Godana, Janet Akinyi and Joyce Kamau)* supporting and working with Red Cross volunteers and community groups. Implementation with Red Cross volunteers led by Bahero Mohamed through door to door awareness raising and street theater began in January 2021. The following case studies are taken from the week of April 23rd 2021 and their successes continue to ripple out across the region. While Kisauni is only a small part of Kenya; through word-of-mouth over 50,000 households and small businesses in vulnerable areas have registered to be part of the Sarafu Network since 2020 and have traded roughly 3 Million USD of goods and services among each other using a blockchain ledger - on simple phones without the need for internet. + +By Emmanuel Mbui +****************** +Economic imbalance, insecurity, dependency and luck of money are the challenges experienced by most people in Kisauni. Thanks to Red Cross, partnering with Grassroots economics foundation for introducing CICs, Community Inclusion Currency (locally Sarafu or 'currency' in Kisawhili); a medium of exchange that builds trust and unites members of a community. Sarafu helps people pool the locally available resources and provides a fair space for exchange within the community. + +.. image:: /images/redcross-will1.webp + :align: center + :alt: redcross-will1 + +In Kenya, Mombasa County, Kisauni sub county, in Manyani village, we find Jackton Mwema (pictured above), a tailor in his community. Jackton spends most of his time mending other people clothes. By doing this, he is able to support his family from the little cash he gets. Like any other member in his community, Jackton is not an exception to economic trauma which is why he joined the Sarafu network. He is now linked to other members of Sarafu within the community who have other goods or services (Fresh water, vegetables, shops) to offer to one another. +Jackton at his place of work in Manyani village accepts payment in sarafu for the service that he provides, which he latter spends it to buy other goods and services from other members in the community. + +Jackton is not the only one who benefits from Sarafu, in the same village of Manyani, we meet another beneficiary. Victoria Kylo. The owner of a small Duka (shop) in the village, she joined the network and accepts a small percentage of the payment in Sarafu. Victoria is in the same trading circle with Jackton and other members. Victoria uses her Sarafu to buy mboga(vegetables) and services like repairing her clothes from Jackton and to buy cold water from their neighbor. + +The two have also manage to invite other people in by explaining how Sarafu works, giving a testimonial example through themselves. Now their trading group has four active members. + +Due to Covid 19 Pandemic and its effects on the economy at large, most of the people have not been able to cater for their basic needs. The ones greatly affected being the vulnerable in the community. A ray of hope was brought upon these communities with the introduction of Community Inclusion Currencies which helps them get their basic needs and has also helped them in minimizing debt collection which was a great challenge to them. Here are some testimonials from different users in different locations. + +By Amina Godana +***************** +Mshomoroni Area in Mjambere Ward: Its an area where the local economy is not that sustainable this is because most of the young and able youths have engaged themselves in illegal activities such as theft and high level of insecurity in the area. This is due to financial trauma. This has however begun to change with the introduction of community inclusion currencies since anyone can accept and use Sarafu even when they do not have a business. He/she can offer services in the community and be paid with CIC and later spend on other business. + +Here are some testimonials of users who have benefited with the usage of sarafu in the area. + +.. image:: /images/redcross-will2.webp + :align: center + :alt: redcross-will2 + +Mwanahamisi Kiti: A mother of three who sells Samaki (fish) by the road side is very grateful for the introduction of Sarafu to her business she says she can now get the daily needs this is because there is an increase in customers to her business and the sarafu she gets she can comfortably buy charcoal from Patricia Munyaka who is her immediate neighbor. (She also spends her sarafu to buy groceries from Irene Matoke and buy Utensils from Suleiman Mohammed.) + +.. image:: /images/redcross-will3.webp + :align: center + :alt: redcross-will3 + :width: 100% + +Patricia Munyaka (pictured above): She is the bread winner of her family has a small Makaa (charcoal) business which she says the sales have increased when she embraces the sarafu concept. She further explains how she has reduced debt holding in her business which was a major challenge to her but now she accepts sarafu instead of debts. This has greatly helped her business in terms of restocking. She uses her sarafu to buy fish from Mwanahamisi Kiti and also accepts sarafu from her and also buys groceries from Irene Matoke. + +.. image:: /images/redcross-will4.webp + :align: center + :alt: redcross-will4 + +Irene Matoke (pictured above): She runs a grocery kiosk she was introduced to the system by Mwanahamisi Kiti who shared her success story with her. Upon hearing this she was excited and joined the network with no hesitations since she was a witness on how sarafu has helped her friend Mwanahamisi. She buys fish from Mwanahamisi and sells her grocery to her and also spends her sarafu to buy charcoal from Patricia. + +Suleiman Mohammed (not pictured) where he sells Malimali (utensils and other stuff) he depends on that business to put food on the table he is delighted to be a member of sarafu since he can get his basic needs. He buys Fish from Mwanahamisi and she in turn buys utensils from him. + +By Janet Otieno Akinyi +************************ +SARAFU CHANGING LIVES! Imagine being evicted from your house because of an accumulated rent arrears together with your 5 children. This is the sad story of Fatuma Mzee, a 35 year old residing in Mjambere, Kisauni, Mombasa Kenya of Sarafu. + +.. image:: /images/redcross-will5.webp + :align: center + :alt: redcross-will5 + +*"My husband lost his work in 2016 and that pushed us to the toughest experiences ever in our lives. We struggled through different casual works just to put up with the bills-rent, fees,food,water and electricity. Life became even harder when our landlord could not tolerate us anymore, who would put up with 6 months arrears anyway? We were evicted* ! + +*My family decided to look for a smaller house. It is then that we moved to Mjambere. I have been here for 7 months. I started my Juice, Ice and Ice Cubes business. Through Sarafu I was able to provide at least one meal a day for my family.* + +*In mid February 2021, I was lucky and overjoyed to know about Sarafu as it was introduced to my community. Through Sarafu, I have been able to unite with my neighbors, I’ve gained trust with them and this has enabled me to form my network of trade. I can easily get my basic needs from my network and the sales in my business have also increased. I’m grateful to Sarafu and I’m looking forward to referring more people to Sarafu so that I can grow my network.” Fatuma narrated.* + +Among the users in Fatuma’s network are: + 1. Ezline Chepkemboi: Ezline sells locally made detergents-jik,liquid soap and washing powders. Fatuma is no longer worried about her laundry since Ezline has her sorted. Ezline is also glad that she can get cold drinking water from Fatuma whenever the sun gets unbearably hot. + + 2. Celly Jerotich: who just joined Fatuma’s network is so excited about the concept. A widow and a mother to 2 adorable daughters runs her grocery shop just adjacent to Fatuma’s place. Fatuma therefore has her grocery needs sorted and Celly is also glad to be receiving juice and detergents from Ezline and Fatuma. + + 3. Rose Karimi: runs a small shop where she sells flour,rice,sugar,salt,cooking oil among other products. Talking to her about Sarafu,she was optimistic and happy that it was introduced to them. She stated that Sarafu has made it easier for them to get their basic needs. Karimi being in Fatuma’s network, is sure of getting products from other small vendors around her as she also allows them to buy from her in Sarafu. + + 4. Linet Saru: is a new addition to Fatuma’s network. A single mother of two narrated that Sarafu will help her cub poverty as she feels more empowered to grow her local economy through her network. Linet is a fish vendor and she’s glad to have joined Fatuma’s network since they will all gain from one another using Sarafu. + +I find it amazing how community inclusion currency (Sarafu) can support and sustain the long-term resilience of the marginalized communities like Mjambere! The initiative delivered to Kisauni by Kenya Red Cross Society,Danish Red Cross and Grassroots Economics Foundation has impacted Kisauni residence in a positive way as it has not only strengthened and supported the vulnerable households but also created unity within the community. + +By Joyce Kamau +*************** +Mjambere is a community within Kisauni sublocation whose population includes people from the grassroots. When the pandemic struck most people from the community were already struggling to put food on the table. This is an example of vulnerable communities which live from hand to mouth. + +Most people from this community are small business people who own small shops, Grocery kiosk, fishermen, food vending, casuals etc. Due to lack of consistency flow on Kenya shillings, some people struggle to get sell their goods, find work or get basic needs and hence end up being in debts. Covid-19 pandemic has made lives incredibly difficult all over the world with dwellers of Mjambere in Kisauni being no exception. + +Execution of Sarafu network by Grassroots economy in conjunction with Kenya Red Cross in Kisauni community for the first time has been well received- it being a tool for trading where Kenyan shillings is lacking/not enough. Through Monthly statistics,its evident that sarafu has been circulating among users in transacting goods and services which has so far is creating a healthy and sustainable community in the face of economic crisis. + +Below are examples of success stories from a group of users who form a good trading loop amongst themselves; + +.. image:: /images/redcross-will6.webp + :align: center + :alt: redcross-will6 + +Mathew Musyoka a resident of Mjambere community is a middle aged man who runs a Chemist . + +With the surge of Covid 19, Musyoka has been willing to accept Sarafu for Surgical Masks from the community as a way of preventing the spread of Covid-19 and to help people save Ksh for other amenities. His daily limit on how much Sarafu he will accept for Masks is unlimited since he will still have some more stock even after selling some with KSH and made enough profit to enable him restock. This is his corporate social responsibility for his community. He also accepts Sarafu for over the counter medicines. + +Mathew has also benefited by buying goods from other vendors like Esther Mutua who sells ground nuts and baked potatoes commonly knows as Viazi Karai. + +Christine is a food vendor from Mathew’s network and whose son at one point got sick and She was able to get some OTC medicine from Mathew’s chemist. Christine on the other hand is supporting the community by accepting Sarafu for her chapati. + +Abdallah’s family comprises of seven members and their source of income solely depends on daily sales from their family grocery kiosk. He is greatful with the introduction of community currency now that he can meet other basic needs for the family while using his trade networks among Christine and Mathew. + +.. image:: /images/redcross-will7.webp + :align: center + :alt: redcross-will7 + +Zaiwabu Moraa a grocer lady located a few meters from Mathew’s chemist is also connected to this active network and has supported her network by accepting sarafu for groceries and fries. + +.. image:: /images/redcross-will8.webp + :align: center + :alt: redcross-will8 + +Luvuno Kiti a fish monger is also been connecting with Zaiwabu trading fish to groceries using sarafu this two are immediate neighbors. She has been happy to accept 50 sarafu on a daily basis from other users and later spend to to buy groceries from Zaiwabu and Mahamri (triangle bread) from her other neighbor who operates a hotel. + +These small businesses are good examples of how people build trust amongst themselves, help others in the community while using a form of local credit (Community Inclusion Currency) to grow their economy and meet their basic need. Community based currency traders from this village have been successful in meeting their daily needs as well as getting more customers . + + + + + + + diff --git a/content/images/nature.jpg b/content/images/nature.jpg new file mode 100644 index 0000000..d79ba3a Binary files /dev/null and b/content/images/nature.jpg differ diff --git a/content/images/redcross-will1.webp b/content/images/redcross-will1.webp new file mode 100644 index 0000000..54b12f1 Binary files /dev/null and b/content/images/redcross-will1.webp differ diff --git a/content/images/redcross-will2.webp b/content/images/redcross-will2.webp new file mode 100644 index 0000000..8eb0f81 Binary files /dev/null and b/content/images/redcross-will2.webp differ diff --git a/content/images/redcross-will3.webp b/content/images/redcross-will3.webp new file mode 100644 index 0000000..94a9970 Binary files /dev/null and b/content/images/redcross-will3.webp differ diff --git a/content/images/redcross-will4.webp b/content/images/redcross-will4.webp new file mode 100644 index 0000000..09ac876 Binary files /dev/null and b/content/images/redcross-will4.webp differ diff --git a/content/images/redcross-will5.webp b/content/images/redcross-will5.webp new file mode 100644 index 0000000..08961aa Binary files /dev/null and b/content/images/redcross-will5.webp differ diff --git a/content/images/redcross-will6.webp b/content/images/redcross-will6.webp new file mode 100644 index 0000000..185e7a9 Binary files /dev/null and b/content/images/redcross-will6.webp differ diff --git a/content/images/redcross-will7.webp b/content/images/redcross-will7.webp new file mode 100644 index 0000000..9c86f20 Binary files /dev/null and b/content/images/redcross-will7.webp differ diff --git a/content/images/redcross-will8.webp b/content/images/redcross-will8.webp new file mode 100644 index 0000000..6db3d89 Binary files /dev/null and b/content/images/redcross-will8.webp differ diff --git a/content/images/shaila_agha.webp b/content/images/shaila_agha.webp new file mode 100644 index 0000000..af2ac5e Binary files /dev/null and b/content/images/shaila_agha.webp differ diff --git a/output/archives.html b/output/archives.html new file mode 100644 index 0000000..faf723f --- /dev/null +++ b/output/archives.html @@ -0,0 +1,56 @@ + + + + + + grassroots-pelican + + + + + +
+

Archives for grassroots-pelican

+ +
+
Sun 25 April 2021
+
Red Cross brings Community Currency to Kisauni
+
Thu 08 April 2021
+
Grassroots Economics has a New Director: Shaila Agha
+
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/output/author/idaapayo.html b/output/author/idaapayo.html new file mode 100644 index 0000000..fc08dff --- /dev/null +++ b/output/author/idaapayo.html @@ -0,0 +1,62 @@ + + + + + + grassroots-pelican - idaapayo + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/author/shaila-agha.html b/output/author/shaila-agha.html new file mode 100644 index 0000000..dd5a72b --- /dev/null +++ b/output/author/shaila-agha.html @@ -0,0 +1,69 @@ + + + + + + grassroots-pelican - Shaila Agha + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/author/will-ruddick.html b/output/author/will-ruddick.html new file mode 100644 index 0000000..440969f --- /dev/null +++ b/output/author/will-ruddick.html @@ -0,0 +1,122 @@ + + + + + + grassroots-pelican - Will Ruddick + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/authors.html b/output/authors.html new file mode 100644 index 0000000..c2c7359 --- /dev/null +++ b/output/authors.html @@ -0,0 +1,55 @@ + + + + + + grassroots-pelican - Authors + + + + + + +
+

Authors on grassroots-pelican

+ +
+ +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/categories.html b/output/categories.html new file mode 100644 index 0000000..76a08ae --- /dev/null +++ b/output/categories.html @@ -0,0 +1,50 @@ + + + + + + grassroots-pelican - Categories + + + + + +

Categories on grassroots-pelican

+ +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/category/blog.html b/output/category/blog.html new file mode 100644 index 0000000..9aa7d39 --- /dev/null +++ b/output/category/blog.html @@ -0,0 +1,151 @@ + + + + + + grassroots-pelican - blog + + + + + + + +
+

Other articles

+
+
    + +
  1. +
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/output/grassroots-economics-has-a-new-director-shaila-agha.html b/output/grassroots-economics-has-a-new-director-shaila-agha.html new file mode 100644 index 0000000..1e6bcfb --- /dev/null +++ b/output/grassroots-economics-has-a-new-director-shaila-agha.html @@ -0,0 +1,78 @@ + + + + + + Grassroots Economics has a New Director: Shaila Agha + + + + + + +
+
+
+

+ Grassroots Economics has a New Director: Shaila Agha

+
+ +
+ +

When I was 9 years old, my mother came home one day with a monopoly board game. It was the beginning of the March holidays and she wanted to provide us with an alternative activity to watching cartoons. Every day after that, my brother and I would insistently play game after game; holding on to our colourful money as if our future depended on it. Like all children, we eventually lost interest in the game. However, the colorful currency notes then became our most valuable asset. We used it as a means of exchange to incentivize each other to do each other's chores, as a rental fee to play with shared toys and even for buying candy off each other. We lived in the middle of rural Kenya, with almost no neighbours or shops, we therefore had no access to national currency. We clearly understood however, that currency (even play money) is merely a medium of exchange; with its value being determined by the users; namely us.

+

Sarafu the pioneering Community Inclusion Currency (CIC) in Kenya, is not so different from the monopoly money my sibling and I used all those years ago. Vulnerable households and communities have no access to credit due to a cycle of poverty that has systematically excluded them from the economy. “Hand a man a fish, he eats for the day, teach him to fish, and he can eat for a lifetime” CIC aims to include the untapped markets who desperately need goods and services yet lack the capacity to pay for them. By including them in the economy, not only do they become empowered, they are given an opportunity to actively participate in value creation and change their lives. The work of Grassroots Economics has not gotten the attention it deserves from national and regional governments as well as partners in finance and technology spaces. I seek to put an end to that and make sure that field tested best practices and open source technology spread wide and far to heal our society and planet.

+

When I was studying Fintech disruptions in traditional finance systems at Oxford, I decided to start my course by asking the question, ‘How does money affect social order and why is money necessary at all’. CICs are seen as radical reforms to broken systems, they are however, a proven working alternative that is demonstrating a major impact on the power distribution in the local economy. I am eager to measure the impact and get firsthand grassroot evidence on its successes and failures. With a long term multiplier effect of more than 21 times traditional donor aid assistance, this intervention seems to do what donor aid has failed to in the past, create self sufficiency and self reliance. Most importantly we need all hands on deck focused on education and regenerative agriculture programs across the planet and we need a financial system to finance this, create sustainable economies and fair distribution of our common resources.

+

In 2015, I attended a KIICO conference on trade and development. My angle, to understand the Kenyan economy and the government policies in place to promote technology in Finance. I carried a journal with me, a notepad that I scribbled names in that I should research later. Grassroots Economics was on that list, along with other NGOs and organizations that were on a difficult mission to create a circular economy. In 2020, after five years of working in the humanitarian space, I met Will Ruddick, adamant on wealth redistribution and regenerative economics and began advising the organization.

+

It is an honor to work as a Director along with Will and the Grassroots Economics team in their endeavor to rebalance the inequalities existing in our current economy and empower those who are most in need. To tackle today’s challenges, we need not only new solutions, but new methods at arriving at solutions. Data and data science will be at the forefront at meeting these challenges and to social innovation, humanitarian aid and international development.

+

*Shaila is an ocean loving global citizen trained in disruptive Financial systems, she has a keen interest in transformative agriculture and conservation. Her love for science and children led her to create a beginner science lab kit that she aims to launch in primary schools countrywide alongside an activity booklet called “The science of life”. She has held various roles in International organizations and private organizations from business development to analyst roles, all of which revolved around developing alternative financial systems and sustainability. You can find out more information about her here. *

+ +
+ +
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/output/grassroots-economics-has-a-new-director-shalia-agha.html b/output/grassroots-economics-has-a-new-director-shalia-agha.html new file mode 100644 index 0000000..a4b70cd --- /dev/null +++ b/output/grassroots-economics-has-a-new-director-shalia-agha.html @@ -0,0 +1,78 @@ + + + + + + Grassroots Economics has a New Director: Shaila Agha + + + + + + +
+
+
+

+ Grassroots Economics has a New Director: Shaila Agha

+
+ +
+ +

When I was 9 years old, my mother came home one day with a monopoly board game. It was the beginning of the March holidays and she wanted to provide us with an alternative activity to watching cartoons. Every day after that, my brother and I would insistently play game after game; holding on to our colourful money as if our future depended on it. Like all children, we eventually lost interest in the game. However, the colorful currency notes then became our most valuable asset. We used it as a means of exchange to incentivize each other to do each other's chores, as a rental fee to play with shared toys and even for buying candy off each other. We lived in the middle of rural Kenya, with almost no neighbours or shops, we therefore had no access to national currency. We clearly understood however, that currency (even play money) is merely a medium of exchange; with its value being determined by the users; namely us.

+

Sarafu the pioneering Community Inclusion Currency (CIC) in Kenya, is not so different from the monopoly money my sibling and I used all those years ago. Vulnerable households and communities have no access to credit due to a cycle of poverty that has systematically excluded them from the economy. “Hand a man a fish, he eats for the day, teach him to fish, and he can eat for a lifetime” CIC aims to include the untapped markets who desperately need goods and services yet lack the capacity to pay for them. By including them in the economy, not only do they become empowered, they are given an opportunity to actively participate in value creation and change their lives. The work of Grassroots Economics has not gotten the attention it deserves from national and regional governments as well as partners in finance and technology spaces. I seek to put an end to that and make sure that field tested best practices and open source technology spread wide and far to heal our society and planet.

+

When I was studying Fintech disruptions in traditional finance systems at Oxford, I decided to start my course by asking the question, ‘How does money affect social order and why is money necessary at all’. CICs are seen as radical reforms to broken systems, they are however, a proven working alternative that is demonstrating a major impact on the power distribution in the local economy. I am eager to measure the impact and get firsthand grassroot evidence on its successes and failures. With a long term multiplier effect of more than 21 times traditional donor aid assistance, this intervention seems to do what donor aid has failed to in the past, create self sufficiency and self reliance. Most importantly we need all hands on deck focused on education and regenerative agriculture programs across the planet and we need a financial system to finance this, create sustainable economies and fair distribution of our common resources.

+

In 2015, I attended a KIICO conference on trade and development. My angle, to understand the Kenyan economy and the government policies in place to promote technology in Finance. I carried a journal with me, a notepad that I scribbled names in that I should research later. Grassroots Economics was on that list, along with other NGOs and organizations that were on a difficult mission to create a circular economy. In 2020, after five years of working in the humanitarian space, I met Will Ruddick, adamant on wealth redistribution and regenerative economics and began advising the organization.

+

It is an honor to work as a Director along with Will and the Grassroots Economics team in their endeavor to rebalance the inequalities existing in our current economy and empower those who are most in need. To tackle today’s challenges, we need not only new solutions, but new methods at arriving at solutions. Data and data science will be at the forefront at meeting these challenges and to social innovation, humanitarian aid and international development.

+

Shaila is an ocean loving global citizen trained in disruptive Financial systems, she has a keen interest in transformative agriculture and conservation. Her love for science and children led her to create a beginner science lab kit that she aims to launch in primary schools countrywide alongside an activity booklet called “The science of life”. She has held various roles in International organizations and private organizations from business development to analyst roles, all of which revolved around developing alternative financial systems and sustainability. You can find out more information about her here .

+ +
+ +
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/output/images/nature.jpg b/output/images/nature.jpg new file mode 100644 index 0000000..d79ba3a Binary files /dev/null and b/output/images/nature.jpg differ diff --git a/output/images/redcross-will1.webp b/output/images/redcross-will1.webp new file mode 100644 index 0000000..54b12f1 Binary files /dev/null and b/output/images/redcross-will1.webp differ diff --git a/output/images/redcross-will1.webp.crdownload b/output/images/redcross-will1.webp.crdownload new file mode 100644 index 0000000..54b12f1 Binary files /dev/null and b/output/images/redcross-will1.webp.crdownload differ diff --git a/output/images/redcross-will2.webp b/output/images/redcross-will2.webp new file mode 100644 index 0000000..8eb0f81 Binary files /dev/null and b/output/images/redcross-will2.webp differ diff --git a/output/images/redcross-will3.webp b/output/images/redcross-will3.webp new file mode 100644 index 0000000..94a9970 Binary files /dev/null and b/output/images/redcross-will3.webp differ diff --git a/output/images/redcross-will4.webp b/output/images/redcross-will4.webp new file mode 100644 index 0000000..09ac876 Binary files /dev/null and b/output/images/redcross-will4.webp differ diff --git a/output/images/redcross-will5.webp b/output/images/redcross-will5.webp new file mode 100644 index 0000000..08961aa Binary files /dev/null and b/output/images/redcross-will5.webp differ diff --git a/output/images/redcross-will6.webp b/output/images/redcross-will6.webp new file mode 100644 index 0000000..185e7a9 Binary files /dev/null and b/output/images/redcross-will6.webp differ diff --git a/output/images/redcross-will7.webp b/output/images/redcross-will7.webp new file mode 100644 index 0000000..9c86f20 Binary files /dev/null and b/output/images/redcross-will7.webp differ diff --git a/output/images/redcross-will8.webp b/output/images/redcross-will8.webp new file mode 100644 index 0000000..6db3d89 Binary files /dev/null and b/output/images/redcross-will8.webp differ diff --git a/output/images/shaila_agha.webp b/output/images/shaila_agha.webp new file mode 100644 index 0000000..af2ac5e Binary files /dev/null and b/output/images/shaila_agha.webp differ diff --git a/output/index.html b/output/index.html new file mode 100644 index 0000000..2942e55 --- /dev/null +++ b/output/index.html @@ -0,0 +1,151 @@ + + + + + + grassroots-pelican + + + + + + + +
+

Other articles

+
+
    + +
  1. +
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/output/media/images/shaila_agha.webp b/output/media/images/shaila_agha.webp new file mode 100644 index 0000000..af2ac5e Binary files /dev/null and b/output/media/images/shaila_agha.webp differ diff --git a/output/red-cross-brings-community-currency-to-kisauni.html b/output/red-cross-brings-community-currency-to-kisauni.html new file mode 100644 index 0000000..8e43129 --- /dev/null +++ b/output/red-cross-brings-community-currency-to-kisauni.html @@ -0,0 +1,131 @@ + + + + + + Red Cross brings Community Currency to Kisauni + + + + + + +
+
+
+

+ Red Cross brings Community Currency to Kisauni

+
+ +
+

Below are a compilation of Community Inclusion Currency (CIC) user stories from Grassroots Economics Field Support Engineers (Emmanuel Mbui, Amina Godana, Janet Akinyi and Joyce Kamau) supporting and working with Red Cross volunteers and community groups. Implementation with Red Cross volunteers led by Bahero Mohamed through door to door awareness raising and street theater began in January 2021. The following case studies are taken from the week of April 23rd 2021 and their successes continue to ripple out across the region. While Kisauni is only a small part of Kenya; through word-of-mouth over 50,000 households and small businesses in vulnerable areas have registered to be part of the Sarafu Network since 2020 and have traded roughly 3 Million USD of goods and services among each other using a blockchain ledger - on simple phones without the need for internet.

+
+

By Emmanuel Mbui

+

Economic imbalance, insecurity, dependency and luck of money are the challenges experienced by most people in Kisauni. Thanks to Red Cross, partnering with Grassroots economics foundation for introducing CICs, Community Inclusion Currency (locally Sarafu or 'currency' in Kisawhili); a medium of exchange that builds trust and unites members of a community. Sarafu helps people pool the locally available resources and provides a fair space for exchange within the community.

+redcross-will1 +

In Kenya, Mombasa County, Kisauni sub county, in Manyani village, we find Jackton Mwema (pictured above), a tailor in his community. Jackton spends most of his time mending other people clothes. By doing this, he is able to support his family from the little cash he gets. Like any other member in his community, Jackton is not an exception to economic trauma which is why he joined the Sarafu network. He is now linked to other members of Sarafu within the community who have other goods or services (Fresh water, vegetables, shops) to offer to one another. +Jackton at his place of work in Manyani village accepts payment in sarafu for the service that he provides, which he latter spends it to buy other goods and services from other members in the community.

+

Jackton is not the only one who benefits from Sarafu, in the same village of Manyani, we meet another beneficiary. Victoria Kylo. The owner of a small Duka (shop) in the village, she joined the network and accepts a small percentage of the payment in Sarafu. Victoria is in the same trading circle with Jackton and other members. Victoria uses her Sarafu to buy mboga(vegetables) and services like repairing her clothes from Jackton and to buy cold water from their neighbor.

+

The two have also manage to invite other people in by explaining how Sarafu works, giving a testimonial example through themselves. Now their trading group has four active members.

+

Due to Covid 19 Pandemic and its effects on the economy at large, most of the people have not been able to cater for their basic needs. The ones greatly affected being the vulnerable in the community. A ray of hope was brought upon these communities with the introduction of Community Inclusion Currencies which helps them get their basic needs and has also helped them in minimizing debt collection which was a great challenge to them. Here are some testimonials from different users in different locations.

+
+
+

By Amina Godana

+

Mshomoroni Area in Mjambere Ward: Its an area where the local economy is not that sustainable this is because most of the young and able youths have engaged themselves in illegal activities such as theft and high level of insecurity in the area. This is due to financial trauma. This has however begun to change with the introduction of community inclusion currencies since anyone can accept and use Sarafu even when they do not have a business. He/she can offer services in the community and be paid with CIC and later spend on other business.

+

Here are some testimonials of users who have benefited with the usage of sarafu in the area.

+redcross-will2 +

Mwanahamisi Kiti: A mother of three who sells Samaki (fish) by the road side is very grateful for the introduction of Sarafu to her business she says she can now get the daily needs this is because there is an increase in customers to her business and the sarafu she gets she can comfortably buy charcoal from Patricia Munyaka who is her immediate neighbor. (She also spends her sarafu to buy groceries from Irene Matoke and buy Utensils from Suleiman Mohammed.)

+redcross-will3 +

Patricia Munyaka (pictured above): She is the bread winner of her family has a small Makaa (charcoal) business which she says the sales have increased when she embraces the sarafu concept. She further explains how she has reduced debt holding in her business which was a major challenge to her but now she accepts sarafu instead of debts. This has greatly helped her business in terms of restocking. She uses her sarafu to buy fish from Mwanahamisi Kiti and also accepts sarafu from her and also buys groceries from Irene Matoke.

+redcross-will4 +

Irene Matoke (pictured above): She runs a grocery kiosk she was introduced to the system by Mwanahamisi Kiti who shared her success story with her. Upon hearing this she was excited and joined the network with no hesitations since she was a witness on how sarafu has helped her friend Mwanahamisi. She buys fish from Mwanahamisi and sells her grocery to her and also spends her sarafu to buy charcoal from Patricia.

+

Suleiman Mohammed (not pictured) where he sells Malimali (utensils and other stuff) he depends on that business to put food on the table he is delighted to be a member of sarafu since he can get his basic needs. He buys Fish from Mwanahamisi and she in turn buys utensils from him.

+
+
+

By Janet Otieno Akinyi

+

SARAFU CHANGING LIVES! Imagine being evicted from your house because of an accumulated rent arrears together with your 5 children. This is the sad story of Fatuma Mzee, a 35 year old residing in Mjambere, Kisauni, Mombasa Kenya of Sarafu.

+redcross-will5 +

"My husband lost his work in 2016 and that pushed us to the toughest experiences ever in our lives. We struggled through different casual works just to put up with the bills-rent, fees,food,water and electricity. Life became even harder when our landlord could not tolerate us anymore, who would put up with 6 months arrears anyway? We were evicted !

+

My family decided to look for a smaller house. It is then that we moved to Mjambere. I have been here for 7 months. I started my Juice, Ice and Ice Cubes business. Through Sarafu I was able to provide at least one meal a day for my family.

+

In mid February 2021, I was lucky and overjoyed to know about Sarafu as it was introduced to my community. Through Sarafu, I have been able to unite with my neighbors, I’ve gained trust with them and this has enabled me to form my network of trade. I can easily get my basic needs from my network and the sales in my business have also increased. I’m grateful to Sarafu and I’m looking forward to referring more people to Sarafu so that I can grow my network.” Fatuma narrated.

+
+
Among the users in Fatuma’s network are:
+
    +
  1. Ezline Chepkemboi: Ezline sells locally made detergents-jik,liquid soap and washing powders. Fatuma is no longer worried about her laundry since Ezline has her sorted. Ezline is also glad that she can get cold drinking water from Fatuma whenever the sun gets unbearably hot.
  2. +
  3. Celly Jerotich: who just joined Fatuma’s network is so excited about the concept. A widow and a mother to 2 adorable daughters runs her grocery shop just adjacent to Fatuma’s place. Fatuma therefore has her grocery needs sorted and Celly is also glad to be receiving juice and detergents from Ezline and Fatuma.
  4. +
  5. Rose Karimi: runs a small shop where she sells flour,rice,sugar,salt,cooking oil among other products. Talking to her about Sarafu,she was optimistic and happy that it was introduced to them. She stated that Sarafu has made it easier for them to get their basic needs. Karimi being in Fatuma’s network, is sure of getting products from other small vendors around her as she also allows them to buy from her in Sarafu.
  6. +
  7. Linet Saru: is a new addition to Fatuma’s network. A single mother of two narrated that Sarafu will help her cub poverty as she feels more empowered to grow her local economy through her network. Linet is a fish vendor and she’s glad to have joined Fatuma’s network since they will all gain from one another using Sarafu.
  8. +
+
+
+

I find it amazing how community inclusion currency (Sarafu) can support and sustain the long-term resilience of the marginalized communities like Mjambere! The initiative delivered to Kisauni by Kenya Red Cross Society,Danish Red Cross and Grassroots Economics Foundation has impacted Kisauni residence in a positive way as it has not only strengthened and supported the vulnerable households but also created unity within the community.

+
+
+

By Joyce Kamau

+

Mjambere is a community within Kisauni sublocation whose population includes people from the grassroots. When the pandemic struck most people from the community were already struggling to put food on the table. This is an example of vulnerable communities which live from hand to mouth.

+

Most people from this community are small business people who own small shops, Grocery kiosk, fishermen, food vending, casuals etc. Due to lack of consistency flow on Kenya shillings, some people struggle to get sell their goods, find work or get basic needs and hence end up being in debts. Covid-19 pandemic has made lives incredibly difficult all over the world with dwellers of Mjambere in Kisauni being no exception.

+

Execution of Sarafu network by Grassroots economy in conjunction with Kenya Red Cross in Kisauni community for the first time has been well received- it being a tool for trading where Kenyan shillings is lacking/not enough. Through Monthly statistics,its evident that sarafu has been circulating among users in transacting goods and services which has so far is creating a healthy and sustainable community in the face of economic crisis.

+

Below are examples of success stories from a group of users who form a good trading loop amongst themselves;

+redcross-will6 +

Mathew Musyoka a resident of Mjambere community is a middle aged man who runs a Chemist .

+

With the surge of Covid 19, Musyoka has been willing to accept Sarafu for Surgical Masks from the community as a way of preventing the spread of Covid-19 and to help people save Ksh for other amenities. His daily limit on how much Sarafu he will accept for Masks is unlimited since he will still have some more stock even after selling some with KSH and made enough profit to enable him restock. This is his corporate social responsibility for his community. He also accepts Sarafu for over the counter medicines.

+

Mathew has also benefited by buying goods from other vendors like Esther Mutua who sells ground nuts and baked potatoes commonly knows as Viazi Karai.

+

Christine is a food vendor from Mathew’s network and whose son at one point got sick and She was able to get some OTC medicine from Mathew’s chemist. Christine on the other hand is supporting the community by accepting Sarafu for her chapati.

+

Abdallah’s family comprises of seven members and their source of income solely depends on daily sales from their family grocery kiosk. He is greatful with the introduction of community currency now that he can meet other basic needs for the family while using his trade networks among Christine and Mathew.

+redcross-will7 +

Zaiwabu Moraa a grocer lady located a few meters from Mathew’s chemist is also connected to this active network and has supported her network by accepting sarafu for groceries and fries.

+redcross-will8 +

Luvuno Kiti a fish monger is also been connecting with Zaiwabu trading fish to groceries using sarafu this two are immediate neighbors. She has been happy to accept 50 sarafu on a daily basis from other users and later spend to to buy groceries from Zaiwabu and Mahamri (triangle bread) from her other neighbor who operates a hotel.

+

These small businesses are good examples of how people build trust amongst themselves, help others in the community while using a form of local credit (Community Inclusion Currency) to grow their economy and meet their basic need. Community based currency traders from this village have been successful in meeting their daily needs as well as getting more customers .

+
+ +
+ +
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/covid.html b/output/tag/covid.html new file mode 100644 index 0000000..ffff40d --- /dev/null +++ b/output/tag/covid.html @@ -0,0 +1,122 @@ + + + + + + grassroots-pelican - Covid + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/directors.html b/output/tag/directors.html new file mode 100644 index 0000000..db13f43 --- /dev/null +++ b/output/tag/directors.html @@ -0,0 +1,69 @@ + + + + + + grassroots-pelican - directors + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/kisauni.html b/output/tag/kisauni.html new file mode 100644 index 0000000..fb93600 --- /dev/null +++ b/output/tag/kisauni.html @@ -0,0 +1,122 @@ + + + + + + grassroots-pelican - Kisauni + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/mission.html b/output/tag/mission.html new file mode 100644 index 0000000..2742477 --- /dev/null +++ b/output/tag/mission.html @@ -0,0 +1,69 @@ + + + + + + grassroots-pelican - mission + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/organization.html b/output/tag/organization.html new file mode 100644 index 0000000..a6bc4f9 --- /dev/null +++ b/output/tag/organization.html @@ -0,0 +1,69 @@ + + + + + + grassroots-pelican - organization + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/red-cross.html b/output/tag/red-cross.html new file mode 100644 index 0000000..0702a7d --- /dev/null +++ b/output/tag/red-cross.html @@ -0,0 +1,122 @@ + + + + + + grassroots-pelican - Red Cross + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tag/staff.html b/output/tag/staff.html new file mode 100644 index 0000000..ce19430 --- /dev/null +++ b/output/tag/staff.html @@ -0,0 +1,69 @@ + + + + + + grassroots-pelican - staff + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/tags.html b/output/tags.html new file mode 100644 index 0000000..816441a --- /dev/null +++ b/output/tags.html @@ -0,0 +1,60 @@ + + + + + + grassroots-pelican - Tags + + + + + + +
+

Tags for grassroots-pelican

+ +
+ +
+ + +
+ + + + + \ No newline at end of file diff --git a/output/theme/css/fonts.css b/output/theme/css/fonts.css new file mode 100644 index 0000000..5601507 --- /dev/null +++ b/output/theme/css/fonts.css @@ -0,0 +1,12 @@ +@font-face { + font-family: 'Yanone Kaffeesatz'; + font-style: normal; + font-weight: 400; + src: + local('Yanone Kaffeesatz Regular'), + local('YanoneKaffeesatz-Regular'), + /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLRTHiN2BPBirwIkMLKUspj4.woff */ + url('../fonts/Yanone_Kaffeesatz_400.woff') format('woff'), + /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLfGwxTS8d1Q9KiDNCMKLFUM.woff2 */ + url('../fonts/Yanone_Kaffeesatz_400.woff2') format('woff2'); +} diff --git a/output/theme/css/main.css b/output/theme/css/main.css new file mode 100644 index 0000000..63f5adc --- /dev/null +++ b/output/theme/css/main.css @@ -0,0 +1,466 @@ +/* + Name: Smashing HTML5 + Date: July 2009 + Description: Sample layout for HTML5 and CSS3 goodness. + Version: 1.0 + License: MIT + Licensed by: Smashing Media GmbH + Original author: Enrique Ramírez +*/ + +/* Imports */ +@import url("reset.css"); +@import url("pygment.css"); +@import url("typogrify.css"); +@import url("fonts.css"); + +/***** Global *****/ +/* Body */ +body { + background: #F5F4EF; + color: #000305; + font-size: 87.5%; /* Base font size: 14px */ + font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + line-height: 1.429; + margin: 0; + padding: 0; + text-align: left; +} + +/* Headings */ +h1 {font-size: 2em } +h2 {font-size: 1.571em} /* 22px */ +h3 {font-size: 1.429em} /* 20px */ +h4 {font-size: 1.286em} /* 18px */ +h5 {font-size: 1.143em} /* 16px */ +h6 {font-size: 1em} /* 14px */ + +h1, h2, h3, h4, h5, h6 { + font-weight: 400; + line-height: 1.1; + margin-bottom: .8em; + font-family: 'Yanone Kaffeesatz', arial, serif; +} + +h3, h4, h5, h6 { margin-top: .8em; } + +hr { border: 2px solid #EEEEEE; } + +/* Anchors */ +a {outline: 0;} +a img {border: 0px; text-decoration: none;} +a:link, a:visited { + color: #C74350; + padding: 0 1px; + text-decoration: underline; +} +a:hover, a:active { + background-color: #C74350; + color: #fff; + text-decoration: none; + text-shadow: 1px 1px 1px #333; +} + +h1 a:hover { + background-color: inherit +} + +/* Paragraphs */ +div.line-block, +p { margin-top: 1em; + margin-bottom: 1em;} + +strong, b {font-weight: bold;} +em, i {font-style: italic;} + +/* Lists */ +ul { + list-style: outside disc; + margin: 0em 0 0 1.5em; +} + +ol { + list-style: outside decimal; + margin: 0em 0 0 1.5em; +} + +li { margin-top: 0.5em; + margin-bottom: 1em; } + +.post-info { + float:right; + margin:10px; + padding:5px; +} + +.post-info p{ + margin-top: 1px; + margin-bottom: 1px; +} + +.readmore { float: right } + +dl {margin: 0 0 1.5em 0;} +dt {font-weight: bold;} +dd {margin-left: 1.5em;} + +pre{background-color: rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;} + +/* Quotes */ +blockquote { + margin: 20px; + font-style: italic; +} +cite {} + +q {} + +div.note { + float: right; + margin: 5px; + font-size: 85%; + max-width: 300px; +} + +/* Tables */ +table {margin: .5em auto 1.5em auto; width: 98%;} + + /* Thead */ + thead th {padding: .5em .4em; text-align: left;} + thead td {} + + /* Tbody */ + tbody td {padding: .5em .4em;} + tbody th {} + + tbody .alt td {} + tbody .alt th {} + + /* Tfoot */ + tfoot th {} + tfoot td {} + +/* HTML5 tags */ +header, section, footer, +aside, nav, article, figure { + display: block; +} + +/***** Layout *****/ +.body {clear: both; margin: 0 auto; width: 800px;} +img.right, figure.right, div.figure.align-right { + float: right; + margin: 0 0 2em 2em; +} +img.left, figure.left, div.figure.align-left { + float: left; + margin: 0 2em 2em 0; +} + +/* .rst support */ +div.figure img, figure img { /* to fill figure exactly */ + width: 100%; +} +div.figure p.caption, figure p.caption { /* margin provided by figure */ + margin-top: 0; + margin-bottom: 0; +} + +/* + Header +*****************/ +#banner { + margin: 0 auto; + padding: 2.5em 0 0 0; +} + + /* Banner */ + #banner h1 {font-size: 3.571em; line-height: 0;} + #banner h1 a:link, #banner h1 a:visited { + color: #000305; + display: block; + font-weight: bold; + margin: 0 0 .6em .2em; + text-decoration: none; + } + #banner h1 a:hover, #banner h1 a:active { + background: none; + color: #C74350; + text-shadow: none; + } + + #banner h1 strong {font-size: 0.36em; font-weight: normal;} + + /* Main Nav */ + #banner nav { + background: #000305; + font-size: 1.143em; + height: 40px; + line-height: 30px; + margin: 0 auto 2em auto; + padding: 0; + text-align: center; + width: 800px; + + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + } + + #banner nav ul {list-style: none; margin: 0 auto; width: 800px;} + #banner nav li {float: left; display: inline; margin: 0;} + + #banner nav a:link, #banner nav a:visited { + color: #fff; + display: inline-block; + height: 30px; + padding: 5px 1.5em; + text-decoration: none; + } + #banner nav a:hover, #banner nav a:active, + #banner nav .active a:link, #banner nav .active a:visited { + background: #C74451; + color: #fff; + text-shadow: none !important; + } + + #banner nav li:first-child a { + border-top-left-radius: 5px; + -moz-border-radius-topleft: 5px; + -webkit-border-top-left-radius: 5px; + + border-bottom-left-radius: 5px; + -moz-border-radius-bottomleft: 5px; + -webkit-border-bottom-left-radius: 5px; + } + +/* + Featured +*****************/ +#featured { + background: #fff; + margin-bottom: 2em; + overflow: hidden; + padding: 20px; + width: 760px; + + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +#featured figure { + border: 2px solid #eee; + float: right; + margin: 0.786em 2em 0 5em; + width: 248px; +} +#featured figure img {display: block; float: right;} + +#featured h2 {color: #C74451; font-size: 1.714em; margin-bottom: 0.333em;} +#featured h3 {font-size: 1.429em; margin-bottom: .5em;} + +#featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;} +#featured h3 a:hover, #featured h3 a:active {color: #fff;} + +/* + Body +*****************/ +#content { + background: #fff; + margin-bottom: 2em; + overflow: hidden; + padding: 20px 20px; + width: 760px; + + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +/* + Extras +*****************/ +#extras {margin: 0 auto 3em auto; overflow: hidden;} + +#extras ul {list-style: none; margin: 0;} +#extras li {border-bottom: 1px solid #fff;} +#extras h2 { + color: #C74350; + font-size: 1.429em; + margin-bottom: .25em; + padding: 0 3px; +} + +#extras a:link, #extras a:visited { + color: #444; + display: block; + border-bottom: 1px solid #F4E3E3; + text-decoration: none; + padding: .3em .25em; +} + +#extras a:hover, #extras a:active {color: #fff;} + + /* Blogroll */ + #extras .blogroll { + float: left; + width: 615px; + } + + #extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;} + + /* Social */ + #extras .social { + float: right; + width: 175px; + } + + #extras div[class='social'] a { + background-repeat: no-repeat; + background-position: 3px 6px; + padding-left: 25px; + } + + /* Icons */ + .social a[href*='about.me'] {background-image: url('../images/icons/aboutme.png');} + .social a[href*='bitbucket.org'] {background-image: url('../images/icons/bitbucket.png');} + .social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');} + .social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');} + .social a[href*='gitorious.org'] {background-image: url('../images/icons/gitorious.png');} + .social a[href*='github.com'], + .social a[href*='git.io'] { + background-image: url('../images/icons/github.png'); + background-size: 16px 16px; + } + .social a[href*='gittip.com'] {background-image: url('../images/icons/gittip.png');} + .social a[href*='plus.google.com'] {background-image: url('../images/icons/google-plus.png');} + .social a[href*='groups.google.com'] {background-image: url('../images/icons/google-groups.png');} + .social a[href*='news.ycombinator.com'], + .social a[href*='hackernewsers.com'] {background-image: url('../images/icons/hackernews.png');} + .social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');} + .social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');} + .social a[href*='reddit.com'] {background-image: url('../images/icons/reddit.png');} + .social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');} + .social a[href*='slideshare.net'] {background-image: url('../images/icons/slideshare.png');} + .social a[href*='speakerdeck.com'] {background-image: url('../images/icons/speakerdeck.png');} + .social a[href*='stackoverflow.com'] {background-image: url('../images/icons/stackoverflow.png');} + .social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');} + .social a[href*='vimeo.com'] {background-image: url('../images/icons/vimeo.png');} + .social a[href*='youtube.com'] {background-image: url('../images/icons/youtube.png');} + +/* + About +*****************/ +#about { + background: #fff; + font-style: normal; + margin-bottom: 2em; + overflow: hidden; + padding: 20px; + text-align: left; + width: 760px; + + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +#about .primary {float: left; width: 165px;} +#about .primary strong {color: #C64350; display: block; font-size: 1.286em;} +#about .photo {float: left; margin: 5px 20px;} + +#about .url:link, #about .url:visited {text-decoration: none;} + +#about .bio {float: right; width: 500px;} + +/* + Footer +*****************/ +#contentinfo {padding-bottom: 2em; text-align: right;} + +/***** Sections *****/ +/* Blog */ +.hentry { + display: block; + clear: both; + border-bottom: 1px solid #eee; + padding: 1.5em 0; +} +li:last-child .hentry, #content > .hentry {border: 0; margin: 0;} +#content > .hentry {padding: 1em 0;} +.hentry img{display : none ;} +.entry-title {font-size: 3em; margin-bottom: 10px; margin-top: 0;} +.entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;} +.entry-title a:visited {background-color: #fff;} + +.hentry .post-info * {font-style: normal;} + + /* Content */ + .hentry footer {margin-bottom: 2em;} + .hentry footer address {display: inline;} + #posts-list footer address {display: block;} + + /* Blog Index */ + #posts-list {list-style: none; margin: 0;} + #posts-list .hentry {padding-left: 10px; position: relative;} + + #posts-list footer { + left: 10px; + position: relative; + float: left; + top: 0.5em; + width: 190px; + } + + /* About the Author */ + #about-author { + background: #f9f9f9; + clear: both; + font-style: normal; + margin: 2em 0; + padding: 10px 20px 15px 20px; + + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + } + + #about-author strong { + color: #C64350; + clear: both; + display: block; + font-size: 1.429em; + } + + #about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;} + + /* Comments */ + #comments-list {list-style: none; margin: 0 1em;} + #comments-list blockquote { + background: #f8f8f8; + clear: both; + font-style: normal; + margin: 0; + padding: 15px 20px; + + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + } + #comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;} + + #comments-list li:nth-child(2n) blockquote {background: #F5f5f5;} + + /* Add a Comment */ + #add-comment label {clear: left; float: left; text-align: left; width: 150px;} + #add-comment input[type='text'], + #add-comment input[type='email'], + #add-comment input[type='url'] {float: left; width: 200px;} + + #add-comment textarea {float: left; height: 150px; width: 495px;} + + #add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;} + + #add-comment input[type='submit'] {float: right; margin: 0 .5em;} + #add-comment * {margin-bottom: .5em;} diff --git a/output/theme/css/pygment.css b/output/theme/css/pygment.css new file mode 100644 index 0000000..fdd056f --- /dev/null +++ b/output/theme/css/pygment.css @@ -0,0 +1,205 @@ +.hll { +background-color:#eee; +} +.c { +color:#408090; +font-style:italic; +} +.err { +border:1px solid #FF0000; +} +.k { +color:#007020; +font-weight:bold; +} +.o { +color:#666666; +} +.cm { +color:#408090; +font-style:italic; +} +.cp { +color:#007020; +} +.c1 { +color:#408090; +font-style:italic; +} +.cs { +background-color:#FFF0F0; +color:#408090; +} +.gd { +color:#A00000; +} +.ge { +font-style:italic; +} +.gr { +color:#FF0000; +} +.gh { +color:#000080; +font-weight:bold; +} +.gi { +color:#00A000; +} +.go { +color:#303030; +} +.gp { +color:#C65D09; +font-weight:bold; +} +.gs { +font-weight:bold; +} +.gu { +color:#800080; +font-weight:bold; +} +.gt { +color:#0040D0; +} +.kc { +color:#007020; +font-weight:bold; +} +.kd { +color:#007020; +font-weight:bold; +} +.kn { +color:#007020; +font-weight:bold; +} +.kp { +color:#007020; +} +.kr { +color:#007020; +font-weight:bold; +} +.kt { +color:#902000; +} +.m { +color:#208050; +} +.s { +color:#4070A0; +} +.na { +color:#4070A0; +} +.nb { +color:#007020; +} +.nc { +color:#0E84B5; +font-weight:bold; +} +.no { +color:#60ADD5; +} +.nd { +color:#555555; +font-weight:bold; +} +.ni { +color:#D55537; +font-weight:bold; +} +.ne { +color:#007020; +} +.nf { +color:#06287E; +} +.nl { +color:#002070; +font-weight:bold; +} +.nn { +color:#0E84B5; +font-weight:bold; +} +.nt { +color:#062873; +font-weight:bold; +} +.nv { +color:#BB60D5; +} +.ow { +color:#007020; +font-weight:bold; +} +.w { +color:#BBBBBB; +} +.mf { +color:#208050; +} +.mh { +color:#208050; +} +.mi { +color:#208050; +} +.mo { +color:#208050; +} +.sb { +color:#4070A0; +} +.sc { +color:#4070A0; +} +.sd { +color:#4070A0; +font-style:italic; +} +.s2 { +color:#4070A0; +} +.se { +color:#4070A0; +font-weight:bold; +} +.sh { +color:#4070A0; +} +.si { +color:#70A0D0; +font-style:italic; +} +.sx { +color:#C65D09; +} +.sr { +color:#235388; +} +.s1 { +color:#4070A0; +} +.ss { +color:#517918; +} +.bp { +color:#007020; +} +.vc { +color:#BB60D5; +} +.vg { +color:#BB60D5; +} +.vi { +color:#BB60D5; +} +.il { +color:#208050; +} diff --git a/output/theme/css/reset.css b/output/theme/css/reset.css new file mode 100644 index 0000000..c88e619 --- /dev/null +++ b/output/theme/css/reset.css @@ -0,0 +1,52 @@ +/* + Name: Reset Stylesheet + Description: Resets browser's default CSS + Author: Eric Meyer + Author URI: https://meyerweb.com/eric/tools/css/reset/ +*/ + +/* v1.0 | 20080212 */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + background: transparent; + border: 0; + font-size: 100%; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} + +body {line-height: 1;} + +ol, ul {list-style: none;} + +blockquote, q {quotes: none;} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +/* remember to define focus styles! */ +:focus { + outline: 0; +} + +/* remember to highlight inserts somehow! */ +ins {text-decoration: none;} +del {text-decoration: line-through;} + +/* tables still need 'cellspacing="0"' in the markup */ +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/output/theme/css/typogrify.css b/output/theme/css/typogrify.css new file mode 100644 index 0000000..3bae497 --- /dev/null +++ b/output/theme/css/typogrify.css @@ -0,0 +1,3 @@ +.caps {font-size:.92em;} +.amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;} +.dquo {margin-left:-.38em;} diff --git a/output/theme/css/wide.css b/output/theme/css/wide.css new file mode 100644 index 0000000..88fd59c --- /dev/null +++ b/output/theme/css/wide.css @@ -0,0 +1,48 @@ +@import url("main.css"); + +body { + font:1.3em/1.3 "Hoefler Text","Georgia",Georgia,serif,sans-serif; +} + +.post-info{ + display: none; +} + +#banner nav { + display: none; + -moz-border-radius: 0px; + margin-bottom: 20px; + overflow: hidden; + font-size: 1em; + background: #F5F4EF; +} + +#banner nav ul{ + padding-right: 50px; +} + +#banner nav li{ + float: right; + color: #000; +} + +#banner nav li a { + color: #000; +} + +#banner h1 { + margin-bottom: -18px; +} + +#featured, #extras { + padding: 50px; +} + +#featured { + padding-top: 20px; +} + +#extras { + padding-top: 0px; + padding-bottom: 0px; +} diff --git a/output/theme/fonts/Yanone_Kaffeesatz_400.eot b/output/theme/fonts/Yanone_Kaffeesatz_400.eot new file mode 100644 index 0000000..b3b90db Binary files /dev/null and b/output/theme/fonts/Yanone_Kaffeesatz_400.eot differ diff --git a/output/theme/fonts/Yanone_Kaffeesatz_400.svg b/output/theme/fonts/Yanone_Kaffeesatz_400.svg new file mode 100644 index 0000000..a69669b --- /dev/null +++ b/output/theme/fonts/Yanone_Kaffeesatz_400.svg @@ -0,0 +1,407 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/output/theme/fonts/Yanone_Kaffeesatz_400.ttf b/output/theme/fonts/Yanone_Kaffeesatz_400.ttf new file mode 100644 index 0000000..6f4feb0 Binary files /dev/null and b/output/theme/fonts/Yanone_Kaffeesatz_400.ttf differ diff --git a/output/theme/fonts/Yanone_Kaffeesatz_400.woff b/output/theme/fonts/Yanone_Kaffeesatz_400.woff new file mode 100644 index 0000000..ddccf76 Binary files /dev/null and b/output/theme/fonts/Yanone_Kaffeesatz_400.woff differ diff --git a/output/theme/fonts/Yanone_Kaffeesatz_400.woff2 b/output/theme/fonts/Yanone_Kaffeesatz_400.woff2 new file mode 100644 index 0000000..7b18f7e Binary files /dev/null and b/output/theme/fonts/Yanone_Kaffeesatz_400.woff2 differ diff --git a/output/theme/fonts/font.css b/output/theme/fonts/font.css new file mode 100644 index 0000000..a9eb87e --- /dev/null +++ b/output/theme/fonts/font.css @@ -0,0 +1,12 @@ +@font-face { + font-family: 'Yanone Kaffeesatz'; + font-style: normal; + font-weight: 400; + src: + local('Yanone Kaffeesatz Regular'), + local('YanoneKaffeesatz-Regular'), + /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLRTHiN2BPBirwIkMLKUspj4.woff */ + url('Yanone_Kaffeesatz_400.woff') format('woff'), + /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLfGwxTS8d1Q9KiDNCMKLFUM.woff2 */ + url('Yanone_Kaffeesatz_400.woff2') format('woff2'); +} diff --git a/output/theme/images/icons/aboutme.png b/output/theme/images/icons/aboutme.png new file mode 100644 index 0000000..600110f Binary files /dev/null and b/output/theme/images/icons/aboutme.png differ diff --git a/output/theme/images/icons/bitbucket.png b/output/theme/images/icons/bitbucket.png new file mode 100644 index 0000000..277a7df Binary files /dev/null and b/output/theme/images/icons/bitbucket.png differ diff --git a/output/theme/images/icons/delicious.png b/output/theme/images/icons/delicious.png new file mode 100644 index 0000000..34868c5 Binary files /dev/null and b/output/theme/images/icons/delicious.png differ diff --git a/output/theme/images/icons/facebook.png b/output/theme/images/icons/facebook.png new file mode 100644 index 0000000..1d8a432 Binary files /dev/null and b/output/theme/images/icons/facebook.png differ diff --git a/output/theme/images/icons/github.png b/output/theme/images/icons/github.png new file mode 100644 index 0000000..5d9109d Binary files /dev/null and b/output/theme/images/icons/github.png differ diff --git a/output/theme/images/icons/gitorious.png b/output/theme/images/icons/gitorious.png new file mode 100644 index 0000000..a6705d0 Binary files /dev/null and b/output/theme/images/icons/gitorious.png differ diff --git a/output/theme/images/icons/gittip.png b/output/theme/images/icons/gittip.png new file mode 100644 index 0000000..b9f67aa Binary files /dev/null and b/output/theme/images/icons/gittip.png differ diff --git a/output/theme/images/icons/google-groups.png b/output/theme/images/icons/google-groups.png new file mode 100644 index 0000000..bbd0a0f Binary files /dev/null and b/output/theme/images/icons/google-groups.png differ diff --git a/output/theme/images/icons/google-plus.png b/output/theme/images/icons/google-plus.png new file mode 100644 index 0000000..f8553d4 Binary files /dev/null and b/output/theme/images/icons/google-plus.png differ diff --git a/output/theme/images/icons/hackernews.png b/output/theme/images/icons/hackernews.png new file mode 100644 index 0000000..8e05e3e Binary files /dev/null and b/output/theme/images/icons/hackernews.png differ diff --git a/output/theme/images/icons/lastfm.png b/output/theme/images/icons/lastfm.png new file mode 100644 index 0000000..2eedd2d Binary files /dev/null and b/output/theme/images/icons/lastfm.png differ diff --git a/output/theme/images/icons/linkedin.png b/output/theme/images/icons/linkedin.png new file mode 100644 index 0000000..06a8801 Binary files /dev/null and b/output/theme/images/icons/linkedin.png differ diff --git a/output/theme/images/icons/reddit.png b/output/theme/images/icons/reddit.png new file mode 100644 index 0000000..d826d3e Binary files /dev/null and b/output/theme/images/icons/reddit.png differ diff --git a/output/theme/images/icons/rss.png b/output/theme/images/icons/rss.png new file mode 100644 index 0000000..12448f5 Binary files /dev/null and b/output/theme/images/icons/rss.png differ diff --git a/output/theme/images/icons/slideshare.png b/output/theme/images/icons/slideshare.png new file mode 100644 index 0000000..9cbe858 Binary files /dev/null and b/output/theme/images/icons/slideshare.png differ diff --git a/output/theme/images/icons/speakerdeck.png b/output/theme/images/icons/speakerdeck.png new file mode 100644 index 0000000..7281ec4 Binary files /dev/null and b/output/theme/images/icons/speakerdeck.png differ diff --git a/output/theme/images/icons/stackoverflow.png b/output/theme/images/icons/stackoverflow.png new file mode 100644 index 0000000..3c6862e Binary files /dev/null and b/output/theme/images/icons/stackoverflow.png differ diff --git a/output/theme/images/icons/twitter.png b/output/theme/images/icons/twitter.png new file mode 100644 index 0000000..cef1cef Binary files /dev/null and b/output/theme/images/icons/twitter.png differ diff --git a/output/theme/images/icons/vimeo.png b/output/theme/images/icons/vimeo.png new file mode 100644 index 0000000..4b9d721 Binary files /dev/null and b/output/theme/images/icons/vimeo.png differ diff --git a/output/theme/images/icons/youtube.png b/output/theme/images/icons/youtube.png new file mode 100644 index 0000000..e334e68 Binary files /dev/null and b/output/theme/images/icons/youtube.png differ diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100644 index 0000000..a9b2580 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # + +AUTHOR = 'idaapayo' +SITENAME = 'grassroots-pelican' +SITEURL = '' + +PATH = 'content' + +TIMEZONE = 'Africa/Nairobi' + +DEFAULT_LANG = 'en' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +# Blogroll +LINKS = (('Pelican', 'https://getpelican.com/'), + ('Python.org', 'https://www.python.org/'), + ('Jinja2', 'https://palletsprojects.com/p/jinja/'), + ('You can modify those links in your config file', '#'),) + +# Social widget +SOCIAL = (('You can add links in your config file', '#'), + ('Another social link', '#'),) + +DEFAULT_PAGINATION = 10 + +LOAD_CONTENT_CACHE = False +# Uncomment following line if you want document-relative URLs when developing +#RELATIVE_URLS = True \ No newline at end of file diff --git a/publishconf.py b/publishconf.py new file mode 100644 index 0000000..39c98b1 --- /dev/null +++ b/publishconf.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # + +# This file is only used if you use `make publish` or +# explicitly specify it as your config file. + +import os +import sys +sys.path.append(os.curdir) +from pelicanconf import * + +# If your site is available via HTTPS, make sure SITEURL begins with https:// +SITEURL = 'https://grassroots-pelican.com' +RELATIVE_URLS = False + +FEED_ALL_ATOM = 'feeds/all.atom.xml' +CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' + +DELETE_OUTPUT_DIRECTORY = True + +# Following items are often useful when publishing + +#DISQUS_SITENAME = "" +#GOOGLE_ANALYTICS = "" \ No newline at end of file diff --git a/tasks.py b/tasks.py new file mode 100644 index 0000000..12634e8 --- /dev/null +++ b/tasks.py @@ -0,0 +1,126 @@ +# -*- coding: utf-8 -*- + +import os +import shlex +import shutil +import sys +import datetime + +from invoke import task +from invoke.main import program +from invoke.util import cd +from pelican import main as pelican_main +from pelican.server import ComplexHTTPRequestHandler, RootedHTTPServer +from pelican.settings import DEFAULT_CONFIG, get_settings_from_file + +SETTINGS_FILE_BASE = 'pelicanconf.py' +SETTINGS = {} +SETTINGS.update(DEFAULT_CONFIG) +LOCAL_SETTINGS = get_settings_from_file(SETTINGS_FILE_BASE) +SETTINGS.update(LOCAL_SETTINGS) + +CONFIG = { + 'settings_base': SETTINGS_FILE_BASE, + 'settings_publish': 'publishconf.py', + # Output path. Can be absolute or relative to tasks.py. Default: 'output' + 'deploy_path': SETTINGS['OUTPUT_PATH'], + # Host and port for `serve` + 'host': 'localhost', + 'port': 8000, +} + +@task +def clean(c): + """Remove generated files""" + if os.path.isdir(CONFIG['deploy_path']): + shutil.rmtree(CONFIG['deploy_path']) + os.makedirs(CONFIG['deploy_path']) + +@task +def build(c): + """Build local version of site""" + pelican_run('-s {settings_base}'.format(**CONFIG)) + +@task +def rebuild(c): + """`build` with the delete switch""" + pelican_run('-d -s {settings_base}'.format(**CONFIG)) + +@task +def regenerate(c): + """Automatically regenerate site upon file modification""" + pelican_run('-r -s {settings_base}'.format(**CONFIG)) + +@task +def serve(c): + """Serve site at http://$HOST:$PORT/ (default is localhost:8000)""" + + class AddressReuseTCPServer(RootedHTTPServer): + allow_reuse_address = True + + server = AddressReuseTCPServer( + CONFIG['deploy_path'], + (CONFIG['host'], CONFIG['port']), + ComplexHTTPRequestHandler) + + sys.stderr.write('Serving at {host}:{port} ...\n'.format(**CONFIG)) + server.serve_forever() + +@task +def reserve(c): + """`build`, then `serve`""" + build(c) + serve(c) + +@task +def preview(c): + """Build production version of site""" + pelican_run('-s {settings_publish}'.format(**CONFIG)) + +@task +def livereload(c): + """Automatically reload browser tab upon file modification.""" + from livereload import Server + + def cached_build(): + cmd = '-s {settings_base} -e CACHE_CONTENT=True LOAD_CONTENT_CACHE=True' + pelican_run(cmd.format(**CONFIG)) + + cached_build() + server = Server() + theme_path = SETTINGS['THEME'] + watched_globs = [ + CONFIG['settings_base'], + '{}/templates/**/*.html'.format(theme_path), + ] + + content_file_extensions = ['.md', '.rst'] + for extension in content_file_extensions: + content_glob = '{0}/**/*{1}'.format(SETTINGS['PATH'], extension) + watched_globs.append(content_glob) + + static_file_extensions = ['.css', '.js'] + for extension in static_file_extensions: + static_file_glob = '{0}/static/**/*{1}'.format(theme_path, extension) + watched_globs.append(static_file_glob) + + for glob in watched_globs: + server.watch(glob, cached_build) + server.serve(host=CONFIG['host'], port=CONFIG['port'], root=CONFIG['deploy_path']) + + +@task +def publish(c): + """Publish to production via rsync""" + pelican_run('-s {settings_publish}'.format(**CONFIG)) + c.run( + 'rsync --delete --exclude ".DS_Store" -pthrvz -c ' + '-e "ssh -p {ssh_port}" ' + '{} {ssh_user}@{ssh_host}:{ssh_path}'.format( + CONFIG['deploy_path'].rstrip('/') + '/', + **CONFIG)) + + +def pelican_run(cmd): + cmd += ' ' + program.core.remainder # allows to pass-through args to pelican + pelican_main(shlex.split(cmd)) \ No newline at end of file