Coder Social home page Coder Social logo

qubitpi / management-blogs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 905.11 MB

My blogs on learning & practicing management

Home Page: https://qubitpi.github.io/management-blogs/

License: Apache License 2.0

Ruby 1.91% HTML 51.37% SCSS 38.69% Dockerfile 0.52% JavaScript 7.51%
jax-rs jax-rs-jersey jersey

management-blogs's Introduction

License Badge

The origin of name "Jersey Guide"

Jersey has been an industry standard for standing up Webservices; I love it and opened up a blog site to put my study notes for it. So Jersey Guide was born. Later on, it has been used extensively as a hub assembling all of my tech-related study notes. The jersey

Add-on

  1. Add the authors, which is a list of author ID's, into the post metadata section:

    ---
    layout: post
    title: Using OpenSSL to encrypt messages and files on Linux
    tags: [Security, OpenSSL]
    color: rgb(43, 164, 78)
    feature-img: "assets/img/post-cover/32-cover.png"
    thumbnail: "assets/img/post-cover/32-cover.png"
    authors: [linuxconfig.org, QubitPi]
    excerpt_separator: <!--more-->
    ---

    The author ID's and each author's info is defined if file authors.yml

  2. In post.html, pass the author's ID into post_info.html. This can be done by changing the following line

    {% include post_info.html author=page.author date=page.date %}

    to

    {% capture author_list %}{{ page.authors | join: "|"}}{% endcapture %}
    {% include post_info.html authors=author_list date=page.date %}
  3. In post_info.html, iterate the author's ID, map-retrieve the author info from config file (docs/_data/authors.yml) and load their info onto the page:

    {% assign date = include.date %}
    {% assign authors = include.authors | split:'|' | sort | uniq %}
    
    <div class="post-info">
      {% for author_id in authors %}
        {% assign author = site.data.authors[author_id] %}
    
        {%- if author.url -%}<a href="{{ author.url | relative_url }}" target="_blank">{%- endif -%}
        {% if author.avatar  %}
        <img src="{{ author.avatar | relative_url }}">
        {% endif %}
        <p class="meta">
            {% if author.name %}{{ author.name }} {% endif %}
        </p>
        {%- if author.url -%}</a>{%- endif -%}
      {% endfor %}
    
      <br>
    
      {{ date | date: "%B %-d, %Y" }}
    </div>

License

The use and distribution terms for this software are covered by the Apache License, Version 2.0 ( http://www.apache.org/licenses/LICENSE-2.0.html ).

management-blogs's People

Contributors

qubitpi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.