mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
config changes
This commit is contained in:
@@ -8,7 +8,7 @@ OUTPUTDIR=$(BASEDIR)/output
|
||||
CONFFILE=$(BASEDIR)/pelicanconf.py
|
||||
PUBLISHCONF=$(BASEDIR)/publishconf.py
|
||||
|
||||
GITHUB_PAGES_BRANCH=main
|
||||
GITHUB_PAGES_BRANCH=gh-pages
|
||||
|
||||
|
||||
DEBUG ?= 0
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
|
||||
# install tools
|
||||
apt-get update && apt-get install -y git make python3 python3-pip
|
||||
|
||||
# setup github config
|
||||
git config user.email "185067@nith.ac.in"
|
||||
git config user.name "avinal"
|
||||
|
||||
# install dependencies
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
# pelican commands
|
||||
pelican-themes --install /themes/alchemy --verbose
|
||||
|
||||
# publish to github pages
|
||||
make github
|
||||
+6
-12
@@ -2,11 +2,11 @@
|
||||
# -*- coding: utf-8 -*- #
|
||||
|
||||
AUTHOR = 'Avinal'
|
||||
SITENAME = 'The Intesteller Twillight'
|
||||
SITENAME = 'The Interstellar Twilight'
|
||||
SITEURL = ''
|
||||
|
||||
THEME = 'alchemy'
|
||||
PATH = 'content'
|
||||
|
||||
SITEIMAGE = '/images/profile.jpg width=150 height=150'
|
||||
TIMEZONE = 'Asia/Kolkata'
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
@@ -19,16 +19,10 @@ 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', '#'),)
|
||||
LINKS = (('GitHub', 'https://github.com/avinal'),
|
||||
('LinkedIn', ''),)
|
||||
|
||||
# Social widget
|
||||
SOCIAL = (('You can add links in your config file', '#'),
|
||||
('Another social link', '#'),)
|
||||
|
||||
DEFAULT_PAGINATION = 10
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
#RELATIVE_URLS = True
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
pelican
|
||||
ghp-import
|
||||
Reference in New Issue
Block a user