[Github] Blog 만들기 #5

lilclown·2022년 6월 17일

Github

목록 보기
5/10
post-thumbnail

SNS 링크 삽입, conversion, outputting




youtube




SNS 링크 삽입

  • 링크 삽입 방법

before

# Site Author
author:
  links:
    - label: "Email"
      icon: "fas fa-fw fa-envelope-square"
      # url: "mailto:your.name@email.com"
    - label: "Website"
      icon: "fas fa-fw fa-link"
      # url: "https://your-website.com"
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      # url: "https://twitter.com/"
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      # url: "https://facebook.com/"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      # url: "https://github.com/"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      # url: "https://instagram.com/"

# Site Footer
footer:
  links:
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      # url:
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      # url:
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      # url:
    - label: "GitLab"
      icon: "fab fa-fw fa-gitlab"
      # url:
    - label: "Bitbucket"
      icon: "fab fa-fw fa-bitbucket"
      # url:
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      # url:

after

# Site Author
author:
  links:
    - label: "Email"
      icon: "fas fa-fw fa-envelope-square"
      url: "mailto:djfldrhkdeo97@naver.com"
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      url: "https://www.facebook.com/profile.php?id=100007252669118"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/lilclown97"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://www.instagram.com/yu_nys/"

# Site Footer
footer:
  links:
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      url: "https://www.facebook.com/profile.php?id=100007252669118"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/lilclown97"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://www.instagram.com/yu_nys/"

sns, footer




conversion

- rouge site

  • rouge syntax highlighting : 코드에 색상 입히기
  • 입력방법
```python
~~~
```.
  • 설정
# Conversion
markdown: kramdown
highlighter: rouge
lsi: false
excerpt_separator: "\n\n"
incremental: false




outputting

- timezone site

  • paginate : 블로그에 보여지는 글의 수
  • timezone : 블로그에 적용되는 표준 시
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: Asia/Seoul




error

  • SNS 링크 삽입 후 커밋이 안되는 문제 발생

    A : url 부분의 라인이 맞지 않아 발생한 것으로 확인

before

# Site Author
author:
  links:
    - label: "Email"
      icon: "fas fa-fw fa-envelope-square"
       url: "mailto:djfldrhkdeo97@naver.com"
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
       url: "https://www.facebook.com/profile.php?id=100007252669118"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
       url: "https://github.com/lilclown97"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
       url: "https://www.instagram.com/yu_nys/"

# Site Footer
footer:
  links:
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
       url: "https://www.facebook.com/profile.php?id=100007252669118"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
       url: "https://github.com/lilclown97"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
       url: "https://www.instagram.com/yu_nys/"

after

# Site Author
author:
  links:
    - label: "Email"
      icon: "fas fa-fw fa-envelope-square"
      url: "mailto:djfldrhkdeo97@naver.com"
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      url: "https://www.facebook.com/profile.php?id=100007252669118"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/lilclown97"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://www.instagram.com/yu_nys/"

# Site Footer
footer:
  links:
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      url: "https://www.facebook.com/profile.php?id=100007252669118"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/lilclown97"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://www.instagram.com/yu_nys/"
profile
Tomorrow better than today, Laugh at myself

0개의 댓글