added simply docs

This commit is contained in:
agusmakmun
2017-02-01 11:28:45 +07:00
parent e8dbe97ab8
commit 51253c5f6c
4 changed files with 51 additions and 5 deletions

View File

@@ -24,3 +24,49 @@
#### Screenshot #### Screenshot
![Screenshot Post Page](https://raw.githubusercontent.com/agusmakmun/agusmakmun.github.io/master/static/img/screenshot-post-page.png "Screenshot Post Page") ![Screenshot Post Page](https://raw.githubusercontent.com/agusmakmun/agusmakmun.github.io/master/static/img/screenshot-post-page.png "Screenshot Post Page")
### Install & Configuration
1. Fork this repository
2. Edit site settings inside file of `_config.yml`
3. Edit your projects at file of `projects.md`, `_data/projects.json` and inside path of `_project/` _(for detail project)_.
4. Edit about yourself inside file of `about.md`
### How to Use?
**a. Add new Categories**
All categories saved inside path of `category/`, you can see existed categories.
**b. Add new Posts**
* All posts bassed on markdown syntax _(please googling)_. allowed extensions if `*.markdown` or `*.md`.
* This files can found at the path of `_posts/`.
* and the name of files are following `<date:%Y-%m-%d>-<slug>.<extension>`, for example:
```
2013-09-23-welcome-to-jekyll.md
# or
2013-09-23-welcome-to-jekyll.markdown
```
Inside the file of it,
```
---
layout: post # (require) default post layout
title: "Your Title" # (require) a string title
date: 2016-04-20 19:51:02 +0700 # (require) a post date
categories: [python, django] # (custom) some categories, but makesure these categories already exists inside path of `category/`
tags: [foo, bar] # (custom) tags only for meta `property="article:tag"`
image: Broadcast_Mail.png # (custom) image only for meta `property="og:image"`, save your image inside path of `static/img/_posts`
---
# your content post with markdown syntax goes here...
```
### Contributing
Feel free to [open a bug](/issues) or [contribute to code](/pulls)!

View File

@@ -5,6 +5,7 @@ github: https://github.com/agusmakmun
about: I am freelance developer. Currently doing more in backend, focused in Python and Django. about: I am freelance developer. Currently doing more in backend, focused in Python and Django.
disqus_shortname: stackproblems disqus_shortname: stackproblems
google_analytics: UA-XXXXXXXX-Y google_analytics: UA-XXXXXXXX-Y
avatar_url: /static/img/avatar.jpg
enableTags: true enableTags: true
tagarray: [] tagarray: []

View File

@@ -42,7 +42,7 @@ layout: compress
{% if page.image %} {% if page.image %}
<meta content="{{ site.url }}/static/img/posts/{{ page.image }}" property="og:image"> <meta content="{{ site.url }}/static/img/posts/{{ page.image }}" property="og:image">
{% else %} {% else %}
<meta content="{{ site.url }}/static/img/logo-high-resolution.png" property="og:image"> <meta content="{{ site.url }}{{ site.avatar_url }}" property="og:image">
{% endif %} {% endif %}
{% if page.categories %} {% if page.categories %}
@@ -110,7 +110,7 @@ layout: compress
<div class="container"> <div class="container">
<div class="col-sm-3"> <div class="col-sm-3">
<div class="fixed-condition"> <div class="fixed-condition">
<a href="/"><img class="profile-avatar" src="/static/img/avatar.jpg" height="75px" width="75px" /></a> <a href="/"><img class="profile-avatar" src="{{ site.avatar_url }}" height="75px" width="75px" /></a>
<h1 class="author-name">{{ site.author }}</h1> <h1 class="author-name">{{ site.author }}</h1>
{% if site.about %} {% if site.about %}
<div class="profile-about"> <div class="profile-about">
@@ -156,8 +156,7 @@ layout: compress
</div> </div>
<!-- end /.container --> <!-- end /.container -->
<!-- Bootstrap core JavaScript <!-- Bootstrap core JavaScript -->
================================================== -->
<!-- Placed at the end of the document so the pages load faster --> <!-- Placed at the end of the document so the pages load faster -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>

View File

@@ -3,6 +3,7 @@ layout: post
title: "Adding BroadCast Mail to All Users Registered inside Django Admin" title: "Adding BroadCast Mail to All Users Registered inside Django Admin"
date: 2016-04-20 19:51:02 +0700 date: 2016-04-20 19:51:02 +0700
categories: [python, django] categories: [python, django]
image: Broadcast_Mail.png
--- ---
Adding BroadCast Mail to All User Registered in Django Admin. This is my last problem, we need custom default Django Admin to can submit BroadCast mail to All User. Because this is perfectly to make a promotions. Adding BroadCast Mail to All User Registered in Django Admin. This is my last problem, we need custom default Django Admin to can submit BroadCast mail to All User. Because this is perfectly to make a promotions.
@@ -82,4 +83,3 @@ admin.site.register(models.BroadCast_Email, BroadCast_Email_Admin)
**3.** And then, you can see. we have **Submit BroadCast** selection, just click button **Go** to submit broadcast mail. **3.** And then, you can see. we have **Submit BroadCast** selection, just click button **Go** to submit broadcast mail.
![Screenshot broadcast](https://raw.githubusercontent.com/agusmakmun/agusmakmun.github.io/master/static/img/_posts/Broadcast_Mail.png "Screenshot broadcast") ![Screenshot broadcast](https://raw.githubusercontent.com/agusmakmun/agusmakmun.github.io/master/static/img/_posts/Broadcast_Mail.png "Screenshot broadcast")