_defaults.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. {# Label for the list of related posts #}
  2. {% if not RELATED_POSTS_LABEL %}
  3. {% set RELATED_POSTS_LABEL = 'Related Posts' %}
  4. {% else %}
  5. {% set RELATED_POSTS_LABEL = RELATED_POSTS_LABEL %}
  6. {% endif %}
  7. {# Label for the list of social profiles #}
  8. {% if not SOCIAL_PROFILE_LABEL %}
  9. {% set SOCIAL_PROFILE_LABEL = 'Contact' %}
  10. {% else %}
  11. {% set SOCIAL_PROFILE_LABEL = SOCIAL_PROFILE_LABEL %}
  12. {% endif %}
  13. {# Label for the Email subscription form #}
  14. {% if not EMAIL_SUBSCRIPTION_LABEL %}
  15. {% set EMAIL_SUBSCRIPTION_LABEL = 'Email Newsletter' %}
  16. {% else %}
  17. {% set EMAIL_SUBSCRIPTION_LABEL = EMAIL_SUBSCRIPTION_LABEL %}
  18. {% endif %}
  19. {# Placeholder text for Email field #}
  20. {% if not EMAIL_FIELD_PLACEHOLDER %}
  21. {% set EMAIL_FIELD_PLACEHOLDER = 'Enter your email...' %}
  22. {% else %}
  23. {% set EMAIL_FIELD_PLACEHOLDER = EMAIL_FIELD_PLACEHOLDER %}
  24. {% endif %}
  25. {# Subscribe button title #}
  26. {% if not SUBSCRIBE_BUTTON_TITLE %}
  27. {% set SUBSCRIBE_BUTTON_TITLE = 'Subscribe' %}
  28. {% else %}
  29. {% set SUBSCRIBE_BUTTON_TITLE = SUBSCRIBE_BUTTON_TITLE %}
  30. {% endif %}
  31. {# Count of recent articles to be shown on the home page #}
  32. {% if not RECENT_ARTICLES_COUNT %}
  33. {% set RECENT_ARTICLES_COUNT = 10 %}
  34. {% else %}
  35. {% set RECENT_ARTICLES_COUNT = RECENT_ARTICLES_COUNT %}
  36. {% endif %}
  37. {# Label to show before Share Post links #}
  38. {% if not SHARE_POST_INTRO %}
  39. {% set SHARE_POST_INTRO = 'Share on:' %}
  40. {% else %}
  41. {% set SHARE_POST_INTRO = SHARE_POST_INTRO %}
  42. {% endif %}
  43. {# Label to show before comments #}
  44. {% if not COMMENTS_INTRO %}
  45. {% set COMMENTS_INTRO = '' %}
  46. {% else %}
  47. {% set COMMENTS_INTRO = COMMENTS_INTRO %}
  48. {% endif %}
  49. {# Author's twitter handle. Used in Twitter card meta data #}
  50. {% if not TWITTER_USERNAME %}
  51. {% set TWITTER_USERNAME = '' %}
  52. {% else %}
  53. {% set TWITTER_USERNAME = TWITTER_USERNAME %}
  54. {% endif %}
  55. {# Author's Google Plus Profile URL. Used for Google Authorship #}
  56. {% if not GOOGLE_PLUS_PROFILE_URL %}
  57. {% set GOOGLE_PLUS_PROFILE_URL = '' %}
  58. {% else %}
  59. {% set GOOGLE_PLUS_PROFILE_URL = GOOGLE_PLUS_PROFILE_URL %}
  60. {% endif %}
  61. {# Thumbnail image to show when homepage is shared on social media. It also
  62. serves as the default image for posts whose featured_image is not set. #}
  63. {% if not FEATURED_IMAGE %}
  64. {% set FEATURED_IMAGE = '' %}
  65. {% else %}
  66. {% set FEATURED_IMAGE = FEATURED_IMAGE %}
  67. {% endif %}
  68. {# License of your site that appears in the footer of every page #}
  69. {% if not SITE_LICENSE %}
  70. {% set SITE_LICENSE = '' %}
  71. {% else %}
  72. {% set SITE_LICENSE = SITE_LICENSE %}
  73. {% endif %}
  74. {# Description of your site. It is used in meta tags so it will appear in
  75. search results and social media #}
  76. {% if not SITE_DESCRIPTION %}
  77. {% set SITE_DESCRIPTION = '' %}
  78. {% else %}
  79. {% set SITE_DESCRIPTION = SITE_DESCRIPTION %}
  80. {% endif %}
  81. {# Mailchimp form action URL. This value is mandatory, to show subscriber form
  82. #}
  83. {% if not MAILCHIMP_FORM_ACTION %} {% set MAILCHIMP_FORM_ACTION = '' %}
  84. {% else %}
  85. {% set MAILCHIMP_FORM_ACTION = MAILCHIMP_FORM_ACTION %}
  86. {% endif %}
  87. {# It is displayed along with the SITENAME in the footer of every page #}
  88. {% if not SITE_SUBTITLE %}
  89. {% set SITE_SUBTITLE = '' %}
  90. {% else %}
  91. {% set SITE_SUBTITLE = SITE_SUBTITLE %}
  92. {% endif %}
  93. {# Set it to True to display favicon and speed dial icon. Also make sure that
  94. you have placed images in the appropriate directory and defined STATIC_PATHS
  95. accordingly #}
  96. {% if not USE_SHORTCUT_ICONS %}
  97. {% set USE_SHORTCUT_ICONS = False %}
  98. {% else %}
  99. {% set USE_SHORTCUT_ICONS = USE_SHORTCUT_ICONS %}
  100. {% endif %}
  101. {# It is a dictionary with two keys: title, details. Value of each key is a
  102. string. It is used to display About me section on the home page.
  103. LANDING_PAGE_ABOUT = {'title': 'Talha Mansoor',
  104. 'details': '<p>I am a software developer. This blog is'
  105. 'my personal space in the cyber world!</p>'
  106. }
  107. #}
  108. {% if not LANDING_PAGE_ABOUT %}
  109. {% set LANDING_PAGE_ABOUT = '' %}
  110. {% else %}
  111. {% set LANDING_PAGE_ABOUT = LANDING_PAGE_ABOUT %}
  112. {% endif %}
  113. {# It is an array of dictionaries. Each distionary has three keys: name, url,
  114. description.
  115. PROJECTS = [{
  116. 'name': 'Logpad + Duration',
  117. 'url': 'https://github.com/talha131/logpad-plus-duration#logpad--duration',
  118. 'description': 'Vim plugin to emulate Windows Notepad logging feature,'
  119. ' and log duration of each entry'},
  120. {'name': 'Elegant Theme for Pelican',
  121. 'url': 'http://oncrashreboot.com/pelican-elegant',
  122. 'description': 'A clean and distraction free theme, with search and a'
  123. ' lot more unique features, using Jinja2 and Bootstrap'}]
  124. #}
  125. {% if not PROJECTS %}
  126. {% set PROJECTS = '' %}
  127. {% else %}
  128. {% set PROJECTS = PROJECTS %}
  129. {% endif %}