The code for my personal website, powered by Jekyll. arthr.me
jekyll-site personal-website
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add support for prose

+178 -77
+142 -77
_config.yml
··· 1 - --- 1 + # Site settings 2 2 title: Arthur Freitas 3 3 timezone: America/Sao_Paulo 4 - collections: 5 - posts: 6 - title: Posts 7 - output: true 8 - uploads: 9 - title: Uploads 10 - output: true 11 - defaults: 12 - - scope: 13 - path: '' 14 - type: posts 15 - values: 16 - syndicate_to: 17 - - bluesky 18 - - scope: 19 - path: '' 20 - type: posts 21 - values: 22 - syndicate_to: 23 - - bluesky 24 - - flickr 4 + 25 5 tagline: Faço sites e vejo filmes. 26 - description: Eu faço sites adoráveis e artesanais para pessoas bacanas ao redor do 6 + description: 7 + Eu faço sites adoráveis e artesanais para pessoas bacanas ao redor do 27 8 mundo. 9 + 28 10 url: https://arthr.me 29 - baseurl: '' 11 + baseurl: "" 12 + 30 13 lang: pt-BR 31 14 encoding: utf-8 15 + 32 16 logo: "/uploads/avatar.png" 17 + 33 18 author: 34 19 name: Arthur Freitas 35 20 uri: https://arthr.me 36 21 email: arthur@arthr.me 37 22 mastodon: "@arthr@organica.social" 23 + 24 + # Theme Settings 25 + theme: linus 26 + 27 + date_formats: 28 + day: "%d/%m/%y" 29 + month: "%m/%y" 30 + year: "%Y" 31 + 38 32 category_colors: 39 - - name: Esquinas 40 - color: "#F06A55" 41 - - name: Notas 42 - color: "#F5C842" 43 - - name: Links 44 - color: "#6BAED6" 45 - - name: Fotos 46 - color: "#88C0D0" 33 + - name: Esquinas 34 + color: "#F06A55" 35 + - name: Notas 36 + color: "#F5C842" 37 + - name: Links 38 + color: "#6BAED6" 39 + - name: Fotos 40 + color: "#88C0D0" 47 41 main_menu: 48 42 title: Navegar 49 43 items: 50 - - url: "/" 51 - label: O Riacho 52 - - url: "/sobre/" 53 - label: A Casa 54 - - url: "/arquivo/" 55 - label: A Biblioteca 44 + - url: "/" 45 + label: O Riacho 46 + - url: "/sobre/" 47 + label: A Casa 48 + - url: "/arquivo/" 49 + label: A Biblioteca 56 50 footer_menu: 57 51 title: Onde me encontrar 58 52 items: 59 - - url: "/feed.xml" 60 - rel: alternate 61 - label: RSS 62 - - url: "/feed.json" 63 - rel: alternate 64 - label: JSON Feed 53 + - url: "/feed.xml" 54 + rel: alternate 55 + label: RSS 56 + - url: "/feed.json" 57 + rel: alternate 58 + label: JSON Feed 65 59 translations: 66 - byline: Por 67 - archive_date_title: Arquivos de %date 68 - archive_tag_title: Posts marcados com “%tag’ 69 - archive_category_title: Arquivo de %category 70 - blog_pagination_title: Paginação do blog 71 - blog_pagination_prev_page: Página anterior 72 - blog_pagination_next_page: Próxima página 73 - date_formats: 74 - day: "%d/%m/%y" 75 - month: "%m/%y" 76 - year: "%Y" 77 - theme: linus 60 + byline: "Por" 61 + archive_date_title: "Arquivos de %date" 62 + archive_tag_title: "Posts marcados com “%tag’" 63 + archive_category_title: "Arquivo de %category" 64 + blog_pagination_title: "Paginação do blog" 65 + blog_pagination_prev_page: "Página anterior" 66 + blog_pagination_next_page: "Próxima página" 67 + 68 + # Build settings 78 69 permalink: "/:categories/:year/:month/:day/:title/" 70 + 71 + include: 72 + - _redirects 73 + - 74 + defaults: 75 + - scope: 76 + path: "" 77 + type: "posts" 78 + values: 79 + syndicate_to: 80 + - bluesky 81 + - mastodon 82 + - scope: 83 + path: "" 84 + type: posts 85 + category: Fotos 86 + values: 87 + syndicate_to: 88 + - bluesky 89 + - mastodon 90 + - flickr 91 + 92 + # Plugins settings 79 93 plugins: 80 - - jekyll-webmention_io 81 - - jekyll-compose 94 + - jekyll-webmention_io 95 + - jekyll-compose 96 + 97 + # Plugin: jekyll-webmention_io 82 98 webmentions: 83 99 username: arthr.me 84 100 cache_folder: ".cache" ··· 91 107 mastodon: 92 108 endpoint: https://brid.gy/publish/mastodon 93 109 legacy_domains: 94 - - https://arthrfrts.tumblr.com 95 - - https://irrelefante.tumblr.com 96 - include: 97 - - _redirects 110 + - https://arthrfrts.tumblr.com 111 + - https://irrelefante.tumblr.com 112 + 113 + # Plugin: jekyll-seo-tag 98 114 seo: 99 115 name: Arthur Freitas 100 116 links: 101 - - https://bsky.app/profile/arthr.me 102 - - https://github.com/arthrfrts 103 - - https://www.last.fm/user/arthrfrts 104 - - https://www.flickr.com/people/arthrfrts/ 105 - - https://letterboxd.com/arthrfrts 106 - - https://tangled.org/arthr.me 107 - - https://arthrfrts.tumblr.com 108 - - https://www.linkedin.com/in/arthrfrts 109 - - https://organica.social/@arthr 117 + - https://bsky.app/profile/arthr.me 118 + - https://github.com/arthrfrts 119 + - https://www.last.fm/user/arthrfrts 120 + - https://www.flickr.com/people/arthrfrts/ 121 + - https://letterboxd.com/arthrfrts 122 + - https://tangled.org/arthr.me 123 + - https://arthrfrts.tumblr.com 124 + - https://www.linkedin.com/in/arthrfrts 125 + - https://organica.social/@arthr 126 + 127 + # Plugin: jekyll-archives 110 128 jekyll-archives: 111 129 permalinks: 112 - tags: "/tag/:name" 113 - category: "/:name/" 130 + tags: /tag/:name 131 + category: /:name/ 132 + 133 + # Plugin: jekyll-compose 114 134 jekyll_compose: 115 135 default_front_matter: 116 136 drafts: 117 - category: 118 - tags: 137 + category: 138 + tags: 119 139 posts: 120 - category: 121 - tags: 140 + category: 141 + tags: 142 + 143 + # Prose settings 144 + prose: 145 + rooturl: "_posts" 146 + siteurl: "https://arthr.me" 147 + media: uploads 148 + relative_links: "https://arthr.me/json/links.jsonp" 149 + metadata: 150 + _posts: 151 + - name: layout 152 + field: 153 + element: hidden 154 + value: post 155 + - name: title 156 + field: 157 + element: text 158 + label: Title 159 + - name: "syndicate_to" 160 + field: 161 + element: multiselect 162 + label: Syndication 163 + options: 164 + - name: Bluesky 165 + value: bluesky 166 + - name: Mastodon 167 + value: mastodon 168 + - name: Flickr 169 + value: flickr 170 + - name: tags 171 + field: 172 + element: multiselect 173 + label: Tags 174 + alterable: true 175 + options: "https://arthr.me/json/tags.jsonp" 176 + - name: category 177 + field: 178 + element: select 179 + label: Category 180 + options: "https://arthr.me/json/categories.jsonp" 181 + value: Notas 182 + - name: date 183 + field: 184 + label: Date 185 + type: date 186 + value: CURRENT_DATETIME
+12
json/categories.jsonp
··· 1 + --- 2 + --- 3 + callback( 4 + [ 5 + {%- for category in site.categories %} 6 + { 7 + "name": "{{- category | first -}}", 8 + "value": "{{- category | first -}}" 9 + }{%- unless forloop.last -%}, {% endunless-%} 10 + {% endfor -%} 11 + ] 12 + )
+12
json/links.jsonp
··· 1 + --- 2 + --- 3 + callback( 4 + [ 5 + {%- for post in site.posts %} 6 + { 7 + "name": "{{- post.title | default: post.excerpt | strip_html | normalize_whitespace | replace: '"', '\"' -}}", 8 + "value": "{{- post.url | relative_url -}}" 9 + }{%- unless forloop.last -%}, {% endunless-%} 10 + {% endfor -%} 11 + ] 12 + )
+12
json/tags.jsonp
··· 1 + --- 2 + --- 3 + callback( 4 + [ 5 + {%- for tag in site.tags %} 6 + { 7 + "name": "{{- tag | first -}}", 8 + "value": "{{- tag | first -}}" 9 + }{%- unless forloop.last -%}, {% endunless-%} 10 + {% endfor -%} 11 + ] 12 + )