diff --git a/docs/gokarna.jpg b/.project/gokarna.jpg similarity index 100% rename from docs/gokarna.jpg rename to .project/gokarna.jpg diff --git a/README.md b/README.md index ea0dd3f..e1977b9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A minimal opinionated theme for Hugo -![Gokarna theme](/docs/screenshot.png) +![Gokarna theme](/.project/screenshot.png) ## Features @@ -21,7 +21,7 @@ A minimal opinionated theme for Hugo The theme is inspired by and accordingly named after [Gokarna](https://en.wikipedia.org/wiki/Gokarna,_Karnataka), a small and peaceful beach town on the west coast on India. -![Gokarna](/docs/gokarna.jpg) +![Gokarna](/.project/gokarna.jpg) ## Installation @@ -35,8 +35,9 @@ git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna - Navbar - Footer - Inject html (Give example) -- Syntax highlighting (Choose one of emacs, trac, perldoc) +- Syntax highlighting (Choose from https://xyproto.github.io/splash/docs/all.html) - Avatar sizes +- Option to show posts on homepage (Choose one of [popular|recent]) ## LICENSE diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 36adc64..a008932 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,6 +3,7 @@ title = "Gokarna" theme = "gokarna" languageCode = "en" defaultContentLanguage = "en" +enableEmoji = true paginate = 20 @@ -14,6 +15,7 @@ pygmentsStyle = "emacs" description = "You miss 100% of the shots you don't take" avatarURL = "https://upload.wikimedia.org/wikipedia/commons/7/7a/1859-Martinique.web.jpg" customHTML = "" + showPostsOnHomePage = "popular" [menu] [[menu.main]] diff --git a/exampleSite/content/posts/emoji-support.md b/exampleSite/content/posts/emoji-support.md new file mode 100644 index 0000000..a4db4b5 --- /dev/null +++ b/exampleSite/content/posts/emoji-support.md @@ -0,0 +1,1272 @@ +--- +title: "Emoji Support" +date: 2020-10-01T17:55:28+08:00 +description: "Guide to emoji usage in Hugo and DoIt." +tags: ["emoji"] +type: post +weight: 1 +--- + +Emoji can be enabled in a Hugo project in a number of ways. + +The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates#inline-shortcodes). + +To enable emoji globally, set `enableEmoji` to `true` in your [site configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files. + +These begin and end with a **colon** and include the **code** of an emoji: + +```markdown +Gone camping! {?:}tent: Be back soon. + +That is so funny! {?:}joy: +``` + +The rendered output looks like this: + +Gone camping! :tent: Be back soon. + +That is so funny! :joy: + +The following **cheat sheet** is a useful reference for emoji shorthand codes. + +## Smileys & Emotion + +### Face Smiling + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :grinning: | grinning | :smiley: | smiley | +| :smile: | smile | :grin: | grin | +| :laughing: | laughing
satisfied | :sweat_smile: | sweat_smile | +| :rofl: | rofl | :joy: | joy | +| :slightly_smiling_face: | slightly_smiling_face | :upside_down_face: | upside_down_face | +| :wink: | wink | :blush: | blush | +| :innocent: | innocent | | | + +### Face Affection + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :heart_eyes: | heart_eyes | :kissing_heart: | kissing_heart | +| :kissing: | kissing | :relaxed: | relaxed | +| :kissing_closed_eyes: | kissing_closed_eyes | :kissing_smiling_eyes: | kissing_smiling_eyes | + +### Face Tongue + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :yum: | yum | :stuck_out_tongue: | stuck_out_tongue | +| :stuck_out_tongue_winking_eye: | stuck_out_tongue_winking_eye | :stuck_out_tongue_closed_eyes: | stuck_out_tongue_closed_eyes | +| :money_mouth_face: | money_mouth_face | | | + +### Face Hand + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hugs: | hugs | :thinking: | thinking | + +### Face Neutral Skeptical + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :zipper_mouth_face: | zipper_mouth_face | :neutral_face: | neutral_face | +| :expressionless: | expressionless | :no_mouth: | no_mouth | +| :smirk: | smirk | :unamused: | unamused | +| :roll_eyes: | roll_eyes | :grimacing: | grimacing | +| :lying_face: | lying_face | | | + +### Face Sleepy + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :relieved: | relieved | :pensive: | pensive | +| :sleepy: | sleepy | :drooling_face: | drooling_face | +| :sleeping: | sleeping | | | + +### Face Unwell + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :mask: | mask | :face_with_thermometer: | face_with_thermometer | +| :face_with_head_bandage: | face_with_head_bandage | :nauseated_face: | nauseated_face | +| :sneezing_face: | sneezing_face | :dizzy_face: | dizzy_face | + +### Face Hat + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :cowboy_hat_face: | cowboy_hat_face | | | + +### Face Glasses + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :sunglasses: | sunglasses | :nerd_face: | nerd_face | + +### Face Concerned + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :confused: | confused | :worried: | worried | +| :slightly_frowning_face: | slightly_frowning_face | :frowning_face: | frowning_face | +| :open_mouth: | open_mouth | :hushed: | hushed | +| :astonished: | astonished | :flushed: | flushed | +| :frowning: | frowning | :anguished: | anguished | +| :fearful: | fearful | :cold_sweat: | cold_sweat | +| :disappointed_relieved: | disappointed_relieved | :cry: | cry | +| :sob: | sob | :scream: | scream | +| :confounded: | confounded | :persevere: | persevere | +| :disappointed: | disappointed | :sweat: | sweat | +| :weary: | weary | :tired_face: | tired_face | + +### Face Negative + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :triumph: | triumph | :pout: | pout
rage | +| :angry: | angry | :smiling_imp: | smiling_imp | +| :imp: | imp | :skull: | skull | +| :skull_and_crossbones: | skull_and_crossbones | | | + +### Face Costume + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hankey: | hankey
poop
shit | :clown_face: | clown_face | +| :japanese_ogre: | japanese_ogre | :japanese_goblin: | japanese_goblin | +| :ghost: | ghost | :alien: | alien | +| :space_invader: | space_invader | :robot: | robot | + +### Cat Face + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :smiley_cat: | smiley_cat | :smile_cat: | smile_cat | +| :joy_cat: | joy_cat | :heart_eyes_cat: | heart_eyes_cat | +| :smirk_cat: | smirk_cat | :kissing_cat: | kissing_cat | +| :scream_cat: | scream_cat | :crying_cat_face: | crying_cat_face | +| :pouting_cat: | pouting_cat | | | + +### Monkey Face + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :see_no_evil: | see_no_evil | :hear_no_evil: | hear_no_evil | +| :speak_no_evil: | speak_no_evil | | | + +### Emotion + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :kiss: | kiss | :love_letter: | love_letter | +| :cupid: | cupid | :gift_heart: | gift_heart | +| :sparkling_heart: | sparkling_heart | :heartpulse: | heartpulse | +| :heartbeat: | heartbeat | :revolving_hearts: | revolving_hearts | +| :two_hearts: | two_hearts | :heart_decoration: | heart_decoration | +| :heavy_heart_exclamation: | heavy_heart_exclamation | :broken_heart: | broken_heart | +| :heart: | heart | :yellow_heart: | yellow_heart | +| :green_heart: | green_heart | :blue_heart: | blue_heart | +| :purple_heart: | purple_heart | :black_heart: | black_heart | +| :100: | 100 | :anger: | anger | +| :boom: | boom
collision | :dizzy: | dizzy | +| :sweat_drops: | sweat_drops | :dash: | dash | +| :hole: | hole | :bomb: | bomb | +| :speech_balloon: | speech_balloon | :eye_speech_bubble: | eye_speech_bubble | +| :right_anger_bubble: | right_anger_bubble | :thought_balloon: | thought_balloon | +| :zzz: | zzz | | | + +## People & Body + +### Hand Fingers Open + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :wave: | wave | :raised_back_of_hand: | raised_back_of_hand | +| :raised_hand_with_fingers_splayed: | raised_hand_with_fingers_splayed | :hand: | hand
raised_hand | +| :vulcan_salute: | vulcan_salute | | | + +### Hand Fingers Partial + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :ok_hand: | ok_hand | :v: | v | +| :crossed_fingers: | crossed_fingers | :metal: | metal | +| :call_me_hand: | call_me_hand | | | + +### Hand Single Finger + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :point_left: | point_left | :point_right: | point_right | +| :point_up_2: | point_up_2 | :fu: | fu
middle_finger | +| :point_down: | point_down | :point_up: | point_up | + +### Hand Fingers Closed + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :+1: | +1
thumbsup | :-1: | -1
thumbsdown | +| :fist: | fist
fist_raised | :facepunch: | facepunch
fist_oncoming
punch | +| :fist_left: | fist_left | :fist_right: | fist_right | + +### Hands + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :clap: | clap | :raised_hands: | raised_hands | +| :open_hands: | open_hands | :handshake: | handshake | +| :pray: | pray | | | + +### Hand Prop + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :writing_hand: | writing_hand | :nail_care: | nail_care | +| :selfie: | selfie | | | + +### Body Parts + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :muscle: | muscle | :ear: | ear | +| :nose: | nose | :eyes: | eyes | +| :eye: | eye | :tongue: | tongue | +| :lips: | lips | | | + +### Person + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :baby: | baby | :boy: | boy | +| :girl: | girl | :blonde_man: | blonde_man
person_with_blond_hair | +| :man: | man | :woman: | woman | +| :blonde_woman: | blonde_woman | :older_man: | older_man | +| :older_woman: | older_woman | | | + +### Person Gesture + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :frowning_woman: | frowning_woman
person_frowning | :frowning_man: | frowning_man | +| :person_with_pouting_face: | person_with_pouting_face
pouting_woman | :pouting_man: | pouting_man | +| :ng_woman: | ng_woman
no_good
no_good_woman | :ng_man: | ng_man
no_good_man | +| :ok_woman: | ok_woman | :ok_man: | ok_man | +| :information_desk_person: | information_desk_person
sassy_woman
tipping_hand_woman | :sassy_man: | sassy_man
tipping_hand_man | +| :raising_hand: | raising_hand
raising_hand_woman | :raising_hand_man: | raising_hand_man | +| :bow: | bow
bowing_man | :bowing_woman: | bowing_woman | +| :man_facepalming: | man_facepalming | :woman_facepalming: | woman_facepalming | +| :man_shrugging: | man_shrugging | :woman_shrugging: | woman_shrugging | + +### Person Role + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :man_health_worker: | man_health_worker | :woman_health_worker: | woman_health_worker | +| :man_student: | man_student | :woman_student: | woman_student | +| :man_teacher: | man_teacher | :woman_teacher: | woman_teacher | +| :man_judge: | man_judge | :woman_judge: | woman_judge | +| :man_farmer: | man_farmer | :woman_farmer: | woman_farmer | +| :man_cook: | man_cook | :woman_cook: | woman_cook | +| :man_mechanic: | man_mechanic | :woman_mechanic: | woman_mechanic | +| :man_factory_worker: | man_factory_worker | :woman_factory_worker: | woman_factory_worker | +| :man_office_worker: | man_office_worker | :woman_office_worker: | woman_office_worker | +| :man_scientist: | man_scientist | :woman_scientist: | woman_scientist | +| :man_technologist: | man_technologist | :woman_technologist: | woman_technologist | +| :man_singer: | man_singer | :woman_singer: | woman_singer | +| :man_artist: | man_artist | :woman_artist: | woman_artist | +| :man_pilot: | man_pilot | :woman_pilot: | woman_pilot | +| :man_astronaut: | man_astronaut | :woman_astronaut: | woman_astronaut | +| :man_firefighter: | man_firefighter | :woman_firefighter: | woman_firefighter | +| :cop: | cop
policeman | :policewoman: | policewoman | +| :detective: | detective
male_detective | :female_detective: | female_detective | +| :guardsman: | guardsman | :guardswoman: | guardswoman | +| :construction_worker: | construction_worker
construction_worker_man | :construction_worker_woman: | construction_worker_woman | +| :prince: | prince | :princess: | princess | +| :man_with_turban: | man_with_turban | :woman_with_turban: | woman_with_turban | +| :man_with_gua_pi_mao: | man_with_gua_pi_mao | :man_in_tuxedo: | man_in_tuxedo | +| :bride_with_veil: | bride_with_veil | :pregnant_woman: | pregnant_woman | + +### Person Fantasy + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :angel: | angel | :santa: | santa | +| :mrs_claus: | mrs_claus | | | + +### Person Activity + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :massage: | massage
massage_woman | :massage_man: | massage_man | +| :haircut: | haircut
haircut_woman | :haircut_man: | haircut_man | +| :walking: | walking
walking_man | :walking_woman: | walking_woman | +| :runner: | runner
running
running_man | :running_woman: | running_woman | +| :dancer: | dancer | :man_dancing: | man_dancing | +| :business_suit_levitating: | business_suit_levitating | :dancers: | dancers
dancing_women | +| :dancing_men: | dancing_men | | | + +### Person Sport + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :person_fencing: | person_fencing | :horse_racing: | horse_racing | +| :skier: | skier | :snowboarder: | snowboarder | +| :golfing_man: | golfing_man | :golfing_woman: | golfing_woman | +| :surfer: | surfer
surfing_man | :surfing_woman: | surfing_woman | +| :rowboat: | rowboat
rowing_man | :rowing_woman: | rowing_woman | +| :swimmer: | swimmer
swimming_man | :swimming_woman: | swimming_woman | +| :basketball_man: | basketball_man | :basketball_woman: | basketball_woman | +| :weight_lifting_man: | weight_lifting_man | :weight_lifting_woman: | weight_lifting_woman | +| :bicyclist: | bicyclist
biking_man | :biking_woman: | biking_woman | +| :mountain_bicyclist: | mountain_bicyclist
mountain_biking_man | :mountain_biking_woman: | mountain_biking_woman | +| :man_cartwheeling: | man_cartwheeling | :woman_cartwheeling: | woman_cartwheeling | +| :men_wrestling: | men_wrestling | :women_wrestling: | women_wrestling | +| :man_playing_water_polo: | man_playing_water_polo | :woman_playing_water_polo: | woman_playing_water_polo | +| :man_playing_handball: | man_playing_handball | :woman_playing_handball: | woman_playing_handball | +| :man_juggling: | man_juggling | :woman_juggling: | woman_juggling | + +### Person Resting + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bath: | bath | :sleeping_bed: | sleeping_bed | + +### Family + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :two_women_holding_hands: | two_women_holding_hands | :couple: | couple | +| :two_men_holding_hands: | two_men_holding_hands | :couplekiss_man_woman: | couplekiss_man_woman | +| :couplekiss_man_man: | couplekiss_man_man | :couplekiss_woman_woman: | couplekiss_woman_woman | +| :couple_with_heart: | couple_with_heart
couple_with_heart_woman_man | :couple_with_heart_man_man: | couple_with_heart_man_man | +| :couple_with_heart_woman_woman: | couple_with_heart_woman_woman | :family: | family
family_man_woman_boy | +| :family_man_woman_girl: | family_man_woman_girl | :family_man_woman_girl_boy: | family_man_woman_girl_boy | +| :family_man_woman_boy_boy: | family_man_woman_boy_boy | :family_man_woman_girl_girl: | family_man_woman_girl_girl | +| :family_man_man_boy: | family_man_man_boy | :family_man_man_girl: | family_man_man_girl | +| :family_man_man_girl_boy: | family_man_man_girl_boy | :family_man_man_boy_boy: | family_man_man_boy_boy | +| :family_man_man_girl_girl: | family_man_man_girl_girl | :family_woman_woman_boy: | family_woman_woman_boy | +| :family_woman_woman_girl: | family_woman_woman_girl | :family_woman_woman_girl_boy: | family_woman_woman_girl_boy | +| :family_woman_woman_boy_boy: | family_woman_woman_boy_boy | :family_woman_woman_girl_girl: | family_woman_woman_girl_girl | +| :family_man_boy: | family_man_boy | :family_man_boy_boy: | family_man_boy_boy | +| :family_man_girl: | family_man_girl | :family_man_girl_boy: | family_man_girl_boy | +| :family_man_girl_girl: | family_man_girl_girl | :family_woman_boy: | family_woman_boy | +| :family_woman_boy_boy: | family_woman_boy_boy | :family_woman_girl: | family_woman_girl | +| :family_woman_girl_boy: | family_woman_girl_boy | :family_woman_girl_girl: | family_woman_girl_girl | + +### Person Symbol + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :speaking_head: | speaking_head | :bust_in_silhouette: | bust_in_silhouette | +| :busts_in_silhouette: | busts_in_silhouette | :footprints: | footprints | + +## Animals & Nature + +### Animal Mammal + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :monkey_face: | monkey_face | :monkey: | monkey | +| :gorilla: | gorilla | :dog: | dog | +| :dog2: | dog2 | :poodle: | poodle | +| :wolf: | wolf | :fox_face: | fox_face | +| :cat: | cat | :cat2: | cat2 | +| :lion: | lion | :tiger: | tiger | +| :tiger2: | tiger2 | :leopard: | leopard | +| :horse: | horse | :racehorse: | racehorse | +| :unicorn: | unicorn | :deer: | deer | +| :cow: | cow | :ox: | ox | +| :water_buffalo: | water_buffalo | :cow2: | cow2 | +| :pig: | pig | :pig2: | pig2 | +| :boar: | boar | :pig_nose: | pig_nose | +| :ram: | ram | :sheep: | sheep | +| :goat: | goat | :dromedary_camel: | dromedary_camel | +| :camel: | camel | :elephant: | elephant | +| :rhinoceros: | rhinoceros | :mouse: | mouse | +| :mouse2: | mouse2 | :rat: | rat | +| :hamster: | hamster | :rabbit: | rabbit | +| :rabbit2: | rabbit2 | :chipmunk: | chipmunk | +| :bat: | bat | :bear: | bear | +| :koala: | koala | :panda_face: | panda_face | +| :feet: | feet
paw_prints | | | + +### Animal Bird + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :turkey: | turkey | :chicken: | chicken | +| :rooster: | rooster | :hatching_chick: | hatching_chick | +| :baby_chick: | baby_chick | :hatched_chick: | hatched_chick | +| :bird: | bird | :penguin: | penguin | +| :dove: | dove | :eagle: | eagle | +| :duck: | duck | :owl: | owl | + +### Animal Amphibian + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :frog: | frog | + +### Animal Reptile + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :crocodile: | crocodile | :turtle: | turtle | +| :lizard: | lizard | :snake: | snake | +| :dragon_face: | dragon_face | :dragon: | dragon | + +### Animal Marine + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :whale: | whale | :whale2: | whale2 | +| :dolphin: | dolphin
flipper | :fish: | fish | +| :tropical_fish: | tropical_fish | :blowfish: | blowfish | +| :shark: | shark | :octopus: | octopus | +| :shell: | shell | | | + +### Animal Bug + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :snail: | snail | :butterfly: | butterfly | +| :bug: | bug | :ant: | ant | +| :bee: | bee
honeybee | :beetle: | beetle | +| :spider: | spider | :spider_web: | spider_web | +| :scorpion: | scorpion | | | + +### Plant Flower + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bouquet: | bouquet | :cherry_blossom: | cherry_blossom | +| :white_flower: | white_flower | :rosette: | rosette | +| :rose: | rose | :wilted_flower: | wilted_flower | +| :hibiscus: | hibiscus | :sunflower: | sunflower | +| :blossom: | blossom | :tulip: | tulip | + +### Plant Other + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :seedling: | seedling | :evergreen_tree: | evergreen_tree | +| :deciduous_tree: | deciduous_tree | :palm_tree: | palm_tree | +| :cactus: | cactus | :ear_of_rice: | ear_of_rice | +| :herb: | herb | :shamrock: | shamrock | +| :four_leaf_clover: | four_leaf_clover | :maple_leaf: | maple_leaf | +| :fallen_leaf: | fallen_leaf | :leaves: | leaves | + +## Food & Drink + +### Food Fruit + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :grapes: | grapes | :melon: | melon | +| :watermelon: | watermelon | :mandarin: | mandarin
orange
tangerine | +| :lemon: | lemon | :banana: | banana | +| :pineapple: | pineapple | :apple: | apple | +| :green_apple: | green_apple | :pear: | pear | +| :peach: | peach | :cherries: | cherries | +| :strawberry: | strawberry | :kiwi_fruit: | kiwi_fruit | +| :tomato: | tomato | | | + +### Food Vegetable + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :avocado: | avocado | :eggplant: | eggplant | +| :potato: | potato | :carrot: | carrot | +| :corn: | corn | :hot_pepper: | hot_pepper | +| :cucumber: | cucumber | :mushroom: | mushroom | +| :peanuts: | peanuts | :chestnut: | chestnut | + +### Food Prepared + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bread: | bread | :croissant: | croissant | +| :baguette_bread: | baguette_bread | :pancakes: | pancakes | +| :cheese: | cheese | :meat_on_bone: | meat_on_bone | +| :poultry_leg: | poultry_leg | :bacon: | bacon | +| :hamburger: | hamburger | :fries: | fries | +| :pizza: | pizza | :hotdog: | hotdog | +| :taco: | taco | :burrito: | burrito | +| :stuffed_flatbread: | stuffed_flatbread | :egg: | egg | +| :fried_egg: | fried_egg | :shallow_pan_of_food: | shallow_pan_of_food | +| :stew: | stew | :green_salad: | green_salad | +| :popcorn: | popcorn | | | + +### Food Asian + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bento: | bento | :rice_cracker: | rice_cracker | +| :rice_ball: | rice_ball | :rice: | rice | +| :curry: | curry | :ramen: | ramen | +| :spaghetti: | spaghetti | :sweet_potato: | sweet_potato | +| :oden: | oden | :sushi: | sushi | +| :fried_shrimp: | fried_shrimp | :fish_cake: | fish_cake | +| :dango: | dango | | | + +### Food Marine + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :crab: | crab | :shrimp: | shrimp | +| :squid: | squid | | | + +### Food Sweet + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :icecream: | icecream | :shaved_ice: | shaved_ice | +| :ice_cream: | ice_cream | :doughnut: | doughnut | +| :cookie: | cookie | :birthday: | birthday | +| :cake: | cake | :chocolate_bar: | chocolate_bar | +| :candy: | candy | :lollipop: | lollipop | +| :custard: | custard | :honey_pot: | honey_pot | + +### Drink + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :baby_bottle: | baby_bottle | :milk_glass: | milk_glass | +| :coffee: | coffee | :tea: | tea | +| :sake: | sake | :champagne: | champagne | +| :wine_glass: | wine_glass | :cocktail: | cocktail | +| :tropical_drink: | tropical_drink | :beer: | beer | +| :beers: | beers | :clinking_glasses: | clinking_glasses | +| :tumbler_glass: | tumbler_glass | | | + +### Dishware + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :plate_with_cutlery: | plate_with_cutlery | :fork_and_knife: | fork_and_knife | +| :spoon: | spoon | :hocho: | hocho
knife | +| :amphora: | amphora | | | + +## Travel & Places + +### Place Map + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :earth_africa: | earth_africa | :earth_americas: | earth_americas | +| :earth_asia: | earth_asia | :globe_with_meridians: | globe_with_meridians | +| :world_map: | world_map | :japan: | japan | + +### Place Geographic + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :mountain_snow: | mountain_snow | :mountain: | mountain | +| :volcano: | volcano | :mount_fuji: | mount_fuji | +| :camping: | camping | :beach_umbrella: | beach_umbrella | +| :desert: | desert | :desert_island: | desert_island | +| :national_park: | national_park | | | + +### Place Building + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :stadium: | stadium | :classical_building: | classical_building | +| :building_construction: | building_construction | :houses: | houses | +| :derelict_house: | derelict_house | :house: | house | +| :house_with_garden: | house_with_garden | :office: | office | +| :post_office: | post_office | :european_post_office: | european_post_office | +| :hospital: | hospital | :bank: | bank | +| :hotel: | hotel | :love_hotel: | love_hotel | +| :convenience_store: | convenience_store | :school: | school | +| :department_store: | department_store | :factory: | factory | +| :japanese_castle: | japanese_castle | :european_castle: | european_castle | +| :wedding: | wedding | :tokyo_tower: | tokyo_tower | +| :statue_of_liberty: | statue_of_liberty | | | + +### Place Religious + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :church: | church | :mosque: | mosque | +| :synagogue: | synagogue | :shinto_shrine: | shinto_shrine | +| :kaaba: | kaaba | | | + +### Place Other + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :fountain: | fountain | :tent: | tent | +| :foggy: | foggy | :night_with_stars: | night_with_stars | +| :cityscape: | cityscape | :sunrise_over_mountains: | sunrise_over_mountains | +| :sunrise: | sunrise | :city_sunset: | city_sunset | +| :city_sunrise: | city_sunrise | :bridge_at_night: | bridge_at_night | +| :hotsprings: | hotsprings | :carousel_horse: | carousel_horse | +| :ferris_wheel: | ferris_wheel | :roller_coaster: | roller_coaster | +| :barber: | barber | :circus_tent: | circus_tent | + +### Transport Ground + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :steam_locomotive: | steam_locomotive | :railway_car: | railway_car | +| :bullettrain_side: | bullettrain_side | :bullettrain_front: | bullettrain_front | +| :train2: | train2 | :metro: | metro | +| :light_rail: | light_rail | :station: | station | +| :tram: | tram | :monorail: | monorail | +| :mountain_railway: | mountain_railway | :train: | train | +| :bus: | bus | :oncoming_bus: | oncoming_bus | +| :trolleybus: | trolleybus | :minibus: | minibus | +| :ambulance: | ambulance | :fire_engine: | fire_engine | +| :police_car: | police_car | :oncoming_police_car: | oncoming_police_car | +| :taxi: | taxi | :oncoming_taxi: | oncoming_taxi | +| :car: | car
red_car | :oncoming_automobile: | oncoming_automobile | +| :blue_car: | blue_car | :truck: | truck | +| :articulated_lorry: | articulated_lorry | :tractor: | tractor | +| :racing_car: | racing_car | :motorcycle: | motorcycle | +| :motor_scooter: | motor_scooter | :bike: | bike | +| :kick_scooter: | kick_scooter | :busstop: | busstop | +| :motorway: | motorway | :railway_track: | railway_track | +| :oil_drum: | oil_drum | :fuelpump: | fuelpump | +| :rotating_light: | rotating_light | :traffic_light: | traffic_light | +| :vertical_traffic_light: | vertical_traffic_light | :stop_sign: | stop_sign | +| :construction: | construction | | | + +### Transport Water + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :anchor: | anchor | :boat: | boat
sailboat | +| :canoe: | canoe | :speedboat: | speedboat | +| :passenger_ship: | passenger_ship | :ferry: | ferry | +| :motor_boat: | motor_boat | :ship: | ship | + +### Transport Air + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :airplane: | airplane | :small_airplane: | small_airplane | +| :flight_departure: | flight_departure | :flight_arrival: | flight_arrival | +| :seat: | seat | :helicopter: | helicopter | +| :suspension_railway: | suspension_railway | :mountain_cableway: | mountain_cableway | +| :aerial_tramway: | aerial_tramway | :artificial_satellite: | artificial_satellite | +| :rocket: | rocket | | | + +### Hotel + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bellhop_bell: | bellhop_bell | + +### Time + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hourglass: | hourglass | :hourglass_flowing_sand: | hourglass_flowing_sand | +| :watch: | watch | :alarm_clock: | alarm_clock | +| :stopwatch: | stopwatch | :timer_clock: | timer_clock | +| :mantelpiece_clock: | mantelpiece_clock | :clock12: | clock12 | +| :clock1230: | clock1230 | :clock1: | clock1 | +| :clock130: | clock130 | :clock2: | clock2 | +| :clock230: | clock230 | :clock3: | clock3 | +| :clock330: | clock330 | :clock4: | clock4 | +| :clock430: | clock430 | :clock5: | clock5 | +| :clock530: | clock530 | :clock6: | clock6 | +| :clock630: | clock630 | :clock7: | clock7 | +| :clock730: | clock730 | :clock8: | clock8 | +| :clock830: | clock830 | :clock9: | clock9 | +| :clock930: | clock930 | :clock10: | clock10 | +| :clock1030: | clock1030 | :clock11: | clock11 | +| :clock1130: | clock1130 | | | + +### Sky & Weather + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :new_moon: | new_moon | :waxing_crescent_moon: | waxing_crescent_moon | +| :first_quarter_moon: | first_quarter_moon | :moon: | moon
waxing_gibbous_moon | +| :full_moon: | full_moon | :waning_gibbous_moon: | waning_gibbous_moon | +| :last_quarter_moon: | last_quarter_moon | :waning_crescent_moon: | waning_crescent_moon | +| :crescent_moon: | crescent_moon | :new_moon_with_face: | new_moon_with_face | +| :first_quarter_moon_with_face: | first_quarter_moon_with_face | :last_quarter_moon_with_face: | last_quarter_moon_with_face | +| :thermometer: | thermometer | :sunny: | sunny | +| :full_moon_with_face: | full_moon_with_face | :sun_with_face: | sun_with_face | +| :star: | star | :star2: | star2 | +| :stars: | stars | :milky_way: | milky_way | +| :cloud: | cloud | :partly_sunny: | partly_sunny | +| :cloud_with_lightning_and_rain: | cloud_with_lightning_and_rain | :sun_behind_small_cloud: | sun_behind_small_cloud | +| :sun_behind_large_cloud: | sun_behind_large_cloud | :sun_behind_rain_cloud: | sun_behind_rain_cloud | +| :cloud_with_rain: | cloud_with_rain | :cloud_with_snow: | cloud_with_snow | +| :cloud_with_lightning: | cloud_with_lightning | :tornado: | tornado | +| :fog: | fog | :wind_face: | wind_face | +| :cyclone: | cyclone | :rainbow: | rainbow | +| :closed_umbrella: | closed_umbrella | :open_umbrella: | open_umbrella | +| :umbrella: | umbrella | :parasol_on_ground: | parasol_on_ground | +| :zap: | zap | :snowflake: | snowflake | +| :snowman_with_snow: | snowman_with_snow | :snowman: | snowman | +| :comet: | comet | :fire: | fire | +| :droplet: | droplet | :ocean: | ocean | + +## Activities + +### Event + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :jack_o_lantern: | jack_o_lantern | :christmas_tree: | christmas_tree | +| :fireworks: | fireworks | :sparkler: | sparkler | +| :sparkles: | sparkles | :balloon: | balloon | +| :tada: | tada | :confetti_ball: | confetti_ball | +| :tanabata_tree: | tanabata_tree | :bamboo: | bamboo | +| :dolls: | dolls | :flags: | flags | +| :wind_chime: | wind_chime | :rice_scene: | rice_scene | +| :ribbon: | ribbon | :gift: | gift | +| :reminder_ribbon: | reminder_ribbon | :tickets: | tickets | +| :ticket: | ticket | | | + +### Award Medal + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :medal_military: | medal_military | :trophy: | trophy | +| :medal_sports: | medal_sports | :1st_place_medal: | 1st_place_medal | +| :2nd_place_medal: | 2nd_place_medal | :3rd_place_medal: | 3rd_place_medal | + +### Sport + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :soccer: | soccer | :baseball: | baseball | +| :basketball: | basketball | :volleyball: | volleyball | +| :football: | football | :rugby_football: | rugby_football | +| :tennis: | tennis | :bowling: | bowling | +| :cricket: | cricket | :field_hockey: | field_hockey | +| :ice_hockey: | ice_hockey | :ping_pong: | ping_pong | +| :badminton: | badminton | :boxing_glove: | boxing_glove | +| :martial_arts_uniform: | martial_arts_uniform | :goal_net: | goal_net | +| :golf: | golf | :ice_skate: | ice_skate | +| :fishing_pole_and_fish: | fishing_pole_and_fish | :running_shirt_with_sash: | running_shirt_with_sash | +| :ski: | ski | | | + +### Game + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :dart: | dart | :8ball: | 8ball | +| :crystal_ball: | crystal_ball | :video_game: | video_game | +| :joystick: | joystick | :slot_machine: | slot_machine | +| :game_die: | game_die | :spades: | spades | +| :hearts: | hearts | :diamonds: | diamonds | +| :clubs: | clubs | :black_joker: | black_joker | +| :mahjong: | mahjong | :flower_playing_cards: | flower_playing_cards | + +### Arts & Crafts + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :performing_arts: | performing_arts | :framed_picture: | framed_picture | +| :art: | art | | | + +## Objects + +### Clothing + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :eyeglasses: | eyeglasses | :dark_sunglasses: | dark_sunglasses | +| :necktie: | necktie | :shirt: | shirt
tshirt | +| :jeans: | jeans | :dress: | dress | +| :kimono: | kimono | :bikini: | bikini | +| :womans_clothes: | womans_clothes | :purse: | purse | +| :handbag: | handbag | :pouch: | pouch | +| :shopping: | shopping | :school_satchel: | school_satchel | +| :mans_shoe: | mans_shoe
shoe | :athletic_shoe: | athletic_shoe | +| :high_heel: | high_heel | :sandal: | sandal | +| :boot: | boot | :crown: | crown | +| :womans_hat: | womans_hat | :tophat: | tophat | +| :mortar_board: | mortar_board | :rescue_worker_helmet: | rescue_worker_helmet | +| :prayer_beads: | prayer_beads | :lipstick: | lipstick | +| :ring: | ring | :gem: | gem | + +### Sound + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :mute: | mute | :speaker: | speaker | +| :sound: | sound | :loud_sound: | loud_sound | +| :loudspeaker: | loudspeaker | :mega: | mega | +| :postal_horn: | postal_horn | :bell: | bell | +| :no_bell: | no_bell | | | + +### Music + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :musical_score: | musical_score | :musical_note: | musical_note | +| :notes: | notes | :studio_microphone: | studio_microphone | +| :level_slider: | level_slider | :control_knobs: | control_knobs | +| :microphone: | microphone | :headphones: | headphones | +| :radio: | radio | | | + +### Musical Instrument + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :saxophone: | saxophone | :guitar: | guitar | +| :musical_keyboard: | musical_keyboard | :trumpet: | trumpet | +| :violin: | violin | :drum: | drum | + +### Phone + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :iphone: | iphone | :calling: | calling | +| :phone: | phone
telephone | :telephone_receiver: | telephone_receiver | +| :pager: | pager | :fax: | fax | + +### Computer + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :battery: | battery | :electric_plug: | electric_plug | +| :computer: | computer | :desktop_computer: | desktop_computer | +| :printer: | printer | :keyboard: | keyboard | +| :computer_mouse: | computer_mouse | :trackball: | trackball | +| :minidisc: | minidisc | :floppy_disk: | floppy_disk | +| :cd: | cd | :dvd: | dvd | + +### Light & Video + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :movie_camera: | movie_camera | :film_strip: | film_strip | +| :film_projector: | film_projector | :clapper: | clapper | +| :tv: | tv | :camera: | camera | +| :camera_flash: | camera_flash | :video_camera: | video_camera | +| :vhs: | vhs | :mag: | mag | +| :mag_right: | mag_right | :candle: | candle | +| :bulb: | bulb | :flashlight: | flashlight | +| :izakaya_lantern: | izakaya_lantern
lantern | | | + +### Book Paper + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :notebook_with_decorative_cover: | notebook_with_decorative_cover | :closed_book: | closed_book | +| :book: | book
open_book | :green_book: | green_book | +| :blue_book: | blue_book | :orange_book: | orange_book | +| :books: | books | :notebook: | notebook | +| :ledger: | ledger | :page_with_curl: | page_with_curl | +| :scroll: | scroll | :page_facing_up: | page_facing_up | +| :newspaper: | newspaper | :newspaper_roll: | newspaper_roll | +| :bookmark_tabs: | bookmark_tabs | :bookmark: | bookmark | +| :label: | label | | | + +### Money + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :moneybag: | moneybag | :yen: | yen | +| :dollar: | dollar | :euro: | euro | +| :pound: | pound | :money_with_wings: | money_with_wings | +| :credit_card: | credit_card | :chart: | chart | + +### Mail + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :email: | email
envelope | :e-mail: | :e-mail: | +| :incoming_envelope: | incoming_envelope | :envelope_with_arrow: | envelope_with_arrow | +| :outbox_tray: | outbox_tray | :inbox_tray: | inbox_tray | +| :package: | package | :mailbox: | mailbox | +| :mailbox_closed: | mailbox_closed | :mailbox_with_mail: | mailbox_with_mail | +| :mailbox_with_no_mail: | mailbox_with_no_mail | :postbox: | postbox | +| :ballot_box: | ballot_box | | | + +### Writing + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :pencil2: | pencil2 | :black_nib: | black_nib | +| :fountain_pen: | fountain_pen | :pen: | pen | +| :paintbrush: | paintbrush | :crayon: | crayon | +| :memo: | memo
pencil | | | + +### Office + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :briefcase: | briefcase | :file_folder: | file_folder | +| :open_file_folder: | open_file_folder | :card_index_dividers: | card_index_dividers | +| :date: | date | :calendar: | calendar | +| :spiral_notepad: | spiral_notepad | :spiral_calendar: | spiral_calendar | +| :card_index: | card_index | :chart_with_upwards_trend: | chart_with_upwards_trend | +| :chart_with_downwards_trend: | chart_with_downwards_trend | :bar_chart: | bar_chart | +| :clipboard: | clipboard | :pushpin: | pushpin | +| :round_pushpin: | round_pushpin | :paperclip: | paperclip | +| :paperclips: | paperclips | :straight_ruler: | straight_ruler | +| :triangular_ruler: | triangular_ruler | :scissors: | scissors | +| :card_file_box: | card_file_box | :file_cabinet: | file_cabinet | +| :wastebasket: | wastebasket | | | + +### Lock + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :lock: | lock | :unlock: | unlock | +| :lock_with_ink_pen: | lock_with_ink_pen | :closed_lock_with_key: | closed_lock_with_key | +| :key: | key | :old_key: | old_key | + +### Tool + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hammer: | hammer | :pick: | pick | +| :hammer_and_pick: | hammer_and_pick | :hammer_and_wrench: | hammer_and_wrench | +| :dagger: | dagger | :crossed_swords: | crossed_swords | +| :gun: | gun | :bow_and_arrow: | bow_and_arrow | +| :shield: | shield | :wrench: | wrench | +| :nut_and_bolt: | nut_and_bolt | :gear: | gear | +| :clamp: | clamp | :balance_scale: | balance_scale | +| :link: | link | :chains: | chains | + +### Science + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :alembic: | alembic | :microscope: | microscope | +| :telescope: | telescope | :satellite: | satellite | + +### Medical + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :syringe: | syringe | :pill: | pill | + +### Household + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :door: | door | :bed: | bed | +| :couch_and_lamp: | couch_and_lamp | :toilet: | toilet | +| :shower: | shower | :bathtub: | bathtub | +| :shopping_cart: | shopping_cart | | | + +### Other Object + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :smoking: | smoking | :coffin: | coffin | +| :funeral_urn: | funeral_urn | :moyai: | moyai | + +## Symbols + +### Transport Sign + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :atm: | atm | :put_litter_in_its_place: | put_litter_in_its_place | +| :potable_water: | potable_water | :wheelchair: | wheelchair | +| :mens: | mens | :womens: | womens | +| :restroom: | restroom | :baby_symbol: | baby_symbol | +| :wc: | wc | :passport_control: | passport_control | +| :customs: | customs | :baggage_claim: | baggage_claim | +| :left_luggage: | left_luggage | | | + +### Warning + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :warning: | warning | :children_crossing: | children_crossing | +| :no_entry: | no_entry | :no_entry_sign: | no_entry_sign | +| :no_bicycles: | no_bicycles | :no_smoking: | no_smoking | +| :do_not_litter: | do_not_litter | :non-potable_water: | :non-potable_water: | +| :no_pedestrians: | no_pedestrians | :no_mobile_phones: | no_mobile_phones | +| :underage: | underage | :radioactive: | radioactive | +| :biohazard: | biohazard | | | + +### Arrow + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :arrow_up: | arrow_up | :arrow_upper_right: | arrow_upper_right | +| :arrow_right: | arrow_right | :arrow_lower_right: | arrow_lower_right | +| :arrow_down: | arrow_down | :arrow_lower_left: | arrow_lower_left | +| :arrow_left: | arrow_left | :arrow_upper_left: | arrow_upper_left | +| :arrow_up_down: | arrow_up_down | :left_right_arrow: | left_right_arrow | +| :leftwards_arrow_with_hook: | leftwards_arrow_with_hook | :arrow_right_hook: | arrow_right_hook | +| :arrow_heading_up: | arrow_heading_up | :arrow_heading_down: | arrow_heading_down | +| :arrows_clockwise: | arrows_clockwise | :arrows_counterclockwise: | arrows_counterclockwise | +| :back: | back | :end: | end | +| :on: | on | :soon: | soon | +| :top: | top | | | + +### Religion + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :place_of_worship: | place_of_worship | :atom_symbol: | atom_symbol | +| :om: | om | :star_of_david: | star_of_david | +| :wheel_of_dharma: | wheel_of_dharma | :yin_yang: | yin_yang | +| :latin_cross: | latin_cross | :orthodox_cross: | orthodox_cross | +| :star_and_crescent: | star_and_crescent | :peace_symbol: | peace_symbol | +| :menorah: | menorah | :six_pointed_star: | six_pointed_star | + +### Zodiac + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :aries: | aries | :taurus: | taurus | +| :gemini: | gemini | :cancer: | cancer | +| :leo: | leo | :virgo: | virgo | +| :libra: | libra | :scorpius: | scorpius | +| :sagittarius: | sagittarius | :capricorn: | capricorn | +| :aquarius: | aquarius | :pisces: | pisces | +| :ophiuchus: | ophiuchus | | | + +### Av Symbol + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :twisted_rightwards_arrows: | twisted_rightwards_arrows | :repeat: | repeat | +| :repeat_one: | repeat_one | :arrow_forward: | arrow_forward | +| :fast_forward: | fast_forward | :next_track_button: | next_track_button | +| :play_or_pause_button: | play_or_pause_button | :arrow_backward: | arrow_backward | +| :rewind: | rewind | :previous_track_button: | previous_track_button | +| :arrow_up_small: | arrow_up_small | :arrow_double_up: | arrow_double_up | +| :arrow_down_small: | arrow_down_small | :arrow_double_down: | arrow_double_down | +| :pause_button: | pause_button | :stop_button: | stop_button | +| :record_button: | record_button | :cinema: | cinema | +| :low_brightness: | low_brightness | :high_brightness: | high_brightness | +| :signal_strength: | signal_strength | :vibration_mode: | vibration_mode | +| :mobile_phone_off: | mobile_phone_off | | | + +### Math + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :heavy_multiplication_x: | heavy_multiplication_x | :heavy_plus_sign: | heavy_plus_sign | +| :heavy_minus_sign: | heavy_minus_sign | :heavy_division_sign: | heavy_division_sign | + +### Punctuation + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bangbang: | bangbang | :interrobang: | interrobang | +| :question: | question | :grey_question: | grey_question | +| :grey_exclamation: | grey_exclamation | :exclamation: | exclamation
heavy_exclamation_mark | +| :wavy_dash: | wavy_dash | | | + +### Currency + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :currency_exchange: | currency_exchange | :heavy_dollar_sign: | heavy_dollar_sign | + +### Keycap + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hash: | hash | :asterisk: | asterisk | +| :zero: | zero | :one: | one | +| :two: | two | :three: | three | +| :four: | four | :five: | five | +| :six: | six | :seven: | seven | +| :eight: | eight | :nine: | nine | +| :keycap_ten: | keycap_ten | | | + +### Alphabet + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :capital_abcd: | capital_abcd | :abcd: | abcd | +| :1234: | 1234 | :symbols: | symbols | +| :abc: | abc | :a: | a | +| :ab: | ab | :b: | b | +| :cl: | cl | :cool: | cool | +| :free: | free | :information_source: | information_source | +| :id: | id | :m: | m | +| :new: | new | :ng: | ng | +| :o2: | o2 | :ok: | ok | +| :parking: | parking | :sos: | sos | +| :up: | up | :vs: | vs | +| :koko: | koko | :sa: | sa | +| :u6708: | u6708 | :u6709: | u6709 | +| :u6307: | u6307 | :ideograph_advantage: | ideograph_advantage | +| :u5272: | u5272 | :u7121: | u7121 | +| :u7981: | u7981 | :accept: | accept | +| :u7533: | u7533 | :u5408: | u5408 | +| :u7a7a: | u7a7a | :congratulations: | congratulations | +| :secret: | secret | :u55b6: | u55b6 | +| :u6e80: | u6e80 | | | + +### Geometric + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :red_circle: | red_circle | :large_blue_circle: | large_blue_circle | +| :black_circle: | black_circle | :white_circle: | white_circle | +| :black_large_square: | black_large_square | :white_large_square: | white_large_square | +| :black_medium_square: | black_medium_square | :white_medium_square: | white_medium_square | +| :black_medium_small_square: | black_medium_small_square | :white_medium_small_square: | white_medium_small_square | +| :black_small_square: | black_small_square | :white_small_square: | white_small_square | +| :large_orange_diamond: | large_orange_diamond | :large_blue_diamond: | large_blue_diamond | +| :small_orange_diamond: | small_orange_diamond | :small_blue_diamond: | small_blue_diamond | +| :small_red_triangle: | small_red_triangle | :small_red_triangle_down: | small_red_triangle_down | +| :diamond_shape_with_a_dot_inside: | diamond_shape_with_a_dot_inside | :radio_button: | radio_button | +| :white_square_button: | white_square_button | :black_square_button: | black_square_button | + +### Other Symbol + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :recycle: | recycle | :fleur_de_lis: | fleur_de_lis | +| :trident: | trident | :name_badge: | name_badge | +| :beginner: | beginner | :o: | o | +| :white_check_mark: | white_check_mark | :ballot_box_with_check: | ballot_box_with_check | +| :heavy_check_mark: | heavy_check_mark | :x: | x | +| :negative_squared_cross_mark: | negative_squared_cross_mark | :curly_loop: | curly_loop | +| :loop: | loop | :part_alternation_mark: | part_alternation_mark | +| :eight_spoked_asterisk: | eight_spoked_asterisk | :eight_pointed_black_star: | eight_pointed_black_star | +| :sparkle: | sparkle | :copyright: | copyright | +| :registered: | registered | :tm: | tm | + +## Flags + +### Common Flags + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :checkered_flag: | checkered_flag | :triangular_flag_on_post: | triangular_flag_on_post | +| :crossed_flags: | crossed_flags | :black_flag: | black_flag | +| :white_flag: | white_flag | :rainbow_flag: | rainbow_flag | + +### Country and Region Flags + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :andorra: | andorra | :united_arab_emirates: | united_arab_emirates | +| :afghanistan: | afghanistan | :antigua_barbuda: | antigua_barbuda | +| :anguilla: | anguilla | :albania: | albania | +| :armenia: | armenia | :angola: | angola | +| :antarctica: | antarctica | :argentina: | argentina | +| :american_samoa: | american_samoa | :austria: | austria | +| :australia: | australia | :aruba: | aruba | +| :aland_islands: | aland_islands | :azerbaijan: | azerbaijan | +| :bosnia_herzegovina: | bosnia_herzegovina | :barbados: | barbados | +| :bangladesh: | bangladesh | :belgium: | belgium | +| :burkina_faso: | burkina_faso | :bulgaria: | bulgaria | +| :bahrain: | bahrain | :burundi: | burundi | +| :benin: | benin | :st_barthelemy: | st_barthelemy | +| :bermuda: | bermuda | :brunei: | brunei | +| :bolivia: | bolivia | :caribbean_netherlands: | caribbean_netherlands | +| :brazil: | brazil | :bahamas: | bahamas | +| :bhutan: | bhutan | :botswana: | botswana | +| :belarus: | belarus | :belize: | belize | +| :canada: | canada | :cocos_islands: | cocos_islands | +| :congo_kinshasa: | congo_kinshasa | :central_african_republic: | central_african_republic | +| :congo_brazzaville: | congo_brazzaville | :switzerland: | switzerland | +| :cote_divoire: | cote_divoire | :cook_islands: | cook_islands | +| :chile: | chile | :cameroon: | cameroon | +| :cn: | cn | :colombia: | colombia | +| :costa_rica: | costa_rica | :cuba: | cuba | +| :cape_verde: | cape_verde | :curacao: | curacao | +| :christmas_island: | christmas_island | :cyprus: | cyprus | +| :czech_republic: | czech_republic | :de: | de | +| :djibouti: | djibouti | :denmark: | denmark | +| :dominica: | dominica | :dominican_republic: | dominican_republic | +| :algeria: | algeria | :ecuador: | ecuador | +| :estonia: | estonia | :egypt: | egypt | +| :western_sahara: | western_sahara | :eritrea: | eritrea | +| :es: | es | :ethiopia: | ethiopia | +| :eu: | eu
european_union | :finland: | finland | +| :fiji: | fiji | :falkland_islands: | falkland_islands | +| :micronesia: | micronesia | :faroe_islands: | faroe_islands | +| :fr: | fr | :gabon: | gabon | +| :gb: | gb
uk | :grenada: | grenada | +| :georgia: | georgia | :french_guiana: | french_guiana | +| :guernsey: | guernsey | :ghana: | ghana | +| :gibraltar: | gibraltar | :greenland: | greenland | +| :gambia: | gambia | :guinea: | guinea | +| :guadeloupe: | guadeloupe | :equatorial_guinea: | equatorial_guinea | +| :greece: | greece | :south_georgia_south_sandwich_islands: | south_georgia_south_sandwich_islands | +| :guatemala: | guatemala | :guam: | guam | +| :guinea_bissau: | guinea_bissau | :guyana: | guyana | +| :hong_kong: | hong_kong | :honduras: | honduras | +| :croatia: | croatia | :haiti: | haiti | +| :hungary: | hungary | :canary_islands: | canary_islands | +| :indonesia: | indonesia | :ireland: | ireland | +| :israel: | israel | :isle_of_man: | isle_of_man | +| :india: | india | :british_indian_ocean_territory: | british_indian_ocean_territory | +| :iraq: | iraq | :iran: | iran | +| :iceland: | iceland | :it: | it | +| :jersey: | jersey | :jamaica: | jamaica | +| :jordan: | jordan | :jp: | jp | +| :kenya: | kenya | :kyrgyzstan: | kyrgyzstan | +| :cambodia: | cambodia | :kiribati: | kiribati | +| :comoros: | comoros | :st_kitts_nevis: | st_kitts_nevis | +| :north_korea: | north_korea | :kr: | kr | +| :kuwait: | kuwait | :cayman_islands: | cayman_islands | +| :kazakhstan: | kazakhstan | :laos: | laos | +| :lebanon: | lebanon | :st_lucia: | st_lucia | +| :liechtenstein: | liechtenstein | :sri_lanka: | sri_lanka | +| :liberia: | liberia | :lesotho: | lesotho | +| :lithuania: | lithuania | :luxembourg: | luxembourg | +| :latvia: | latvia | :libya: | libya | +| :morocco: | morocco | :monaco: | monaco | +| :moldova: | moldova | :montenegro: | montenegro | +| :madagascar: | madagascar | :marshall_islands: | marshall_islands | +| :macedonia: | macedonia | :mali: | mali | +| :myanmar: | myanmar | :mongolia: | mongolia | +| :macau: | macau | :northern_mariana_islands: | northern_mariana_islands | +| :martinique: | martinique | :mauritania: | mauritania | +| :montserrat: | montserrat | :malta: | malta | +| :mauritius: | mauritius | :maldives: | maldives | +| :malawi: | malawi | :mexico: | mexico | +| :malaysia: | malaysia | :mozambique: | mozambique | +| :namibia: | namibia | :new_caledonia: | new_caledonia | +| :niger: | niger | :norfolk_island: | norfolk_island | +| :nigeria: | nigeria | :nicaragua: | nicaragua | +| :netherlands: | netherlands | :norway: | norway | +| :nepal: | nepal | :nauru: | nauru | +| :niue: | niue | :new_zealand: | new_zealand | +| :oman: | oman | :panama: | panama | +| :peru: | peru | :french_polynesia: | french_polynesia | +| :papua_new_guinea: | papua_new_guinea | :philippines: | philippines | +| :pakistan: | pakistan | :poland: | poland | +| :st_pierre_miquelon: | st_pierre_miquelon | :pitcairn_islands: | pitcairn_islands | +| :puerto_rico: | puerto_rico | :palestinian_territories: | palestinian_territories | +| :portugal: | portugal | :palau: | palau | +| :paraguay: | paraguay | :qatar: | qatar | +| :reunion: | reunion | :romania: | romania | +| :serbia: | serbia | :ru: | ru | +| :rwanda: | rwanda | :saudi_arabia: | saudi_arabia | +| :solomon_islands: | solomon_islands | :seychelles: | seychelles | +| :sudan: | sudan | :sweden: | sweden | +| :singapore: | singapore | :st_helena: | st_helena | +| :slovenia: | slovenia | :slovakia: | slovakia | +| :sierra_leone: | sierra_leone | :san_marino: | san_marino | +| :senegal: | senegal | :somalia: | somalia | +| :suriname: | suriname | :south_sudan: | south_sudan | +| :sao_tome_principe: | sao_tome_principe | :el_salvador: | el_salvador | +| :sint_maarten: | sint_maarten | :syria: | syria | +| :swaziland: | swaziland | :turks_caicos_islands: | turks_caicos_islands | +| :chad: | chad | :french_southern_territories: | french_southern_territories | +| :togo: | togo | :thailand: | thailand | +| :tajikistan: | tajikistan | :tokelau: | tokelau | +| :timor_leste: | timor_leste | :turkmenistan: | turkmenistan | +| :tunisia: | tunisia | :tonga: | tonga | +| :tr: | tr | :trinidad_tobago: | trinidad_tobago | +| :tuvalu: | tuvalu | :taiwan: | taiwan | +| :tanzania: | tanzania | :ukraine: | ukraine | +| :uganda: | uganda | :us: | us | +| :uruguay: | uruguay | :uzbekistan: | uzbekistan | +| :vatican_city: | vatican_city | :st_vincent_grenadines: | st_vincent_grenadines | +| :venezuela: | venezuela | :british_virgin_islands: | british_virgin_islands | +| :us_virgin_islands: | us_virgin_islands | :vietnam: | vietnam | +| :vanuatu: | vanuatu | :wallis_futuna: | wallis_futuna | +| :samoa: | samoa | :kosovo: | kosovo | +| :yemen: | yemen | :mayotte: | mayotte | +| :south_africa: | south_africa | :zambia: | zambia | +| :zimbabwe: | zimbabwe | | | + diff --git a/exampleSite/content/posts/first_post.md b/exampleSite/content/posts/first_post.md deleted file mode 100644 index 5ee12e9..0000000 --- a/exampleSite/content/posts/first_post.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: "First Post" -date: 2021-05-15T23:39:49+05:30 -tags: ["abc", "def"] -type: post ---- - -Yo yo yo - -# This is a heading - -- And -- this -- is -- a -- list - -1. This -2. is -3. a -4. numbered -5. list - -> And this is a really really really really really long blockquote which spans across multple lines - -One importnant thing to keep in mind is that using multi-stage will not impact the build time of your container, the time difference between the build times is negligible - -| Language | Normal | Multi-Stage | -|-------|----------------|-------| -| Python | 274 MB | 84.5 MB | -| Golang | 829 MB | 15.3MB | - -Multi-stage builds are useful where space is a constraint, and whilst it is always better to build small concise containers, it is easy to get carried away trying to shave off a few megabytes. Even though they are great to use, they shouldn’t be abused, the effort should always spent be towards improving the workflow. - -```py -# Codeblocks look like this - -def print(): - print('Hello world!') -``` - -```golang -package main - -import ( - "fmt" -) - -// This is a comment -func main () { - fmt.Println("Hello, world!") -} -``` - -```bash -PATH=$HOME - -cat $HOME/file.txt | while read -n data; do - echo $data -done -``` diff --git a/exampleSite/content/posts/second_post.md b/exampleSite/content/posts/lorem-ipsum.md similarity index 99% rename from exampleSite/content/posts/second_post.md rename to exampleSite/content/posts/lorem-ipsum.md index d0084bb..d66e0bb 100644 --- a/exampleSite/content/posts/second_post.md +++ b/exampleSite/content/posts/lorem-ipsum.md @@ -1,8 +1,9 @@ --- -title: "Second Post" +title: "Lorem Ipsum" date: 2021-04-15T23:39:49+05:30 tags: ["xyz", "def"] type: "post" +weight: 3 --- # Heading 1 @@ -44,4 +45,4 @@ This continues at length and variously. The text is not really Greek, but badly Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? -At ver \ No newline at end of file +At ver diff --git a/exampleSite/content/posts/markdown-syntax.md b/exampleSite/content/posts/markdown-syntax.md new file mode 100644 index 0000000..c4db5c9 --- /dev/null +++ b/exampleSite/content/posts/markdown-syntax.md @@ -0,0 +1,139 @@ +--- +title: "Markdown Syntax Guide" +date: 2019-06-01T17:55:28+08:00 +description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." +tags: ["markdown", "css", "html"] +type: post +--- + +This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. + + +## Headings + +The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. + +# H1 +## H2 +### H3 +#### H4 +##### H5 +###### H6 + +## Paragraph + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Blockquotes + +The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. + +#### Blockquote without attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Note** that you can use *Markdown syntax* within a blockquote. + +#### Blockquote with attribution + +> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1] + +[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. + +## Tables + +Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box. + + Name | Age +--------|------ + Bob | 27 + Alice | 23 + +#### Inline Markdown within tables + +| Italics | Bold | Code | +| -------- | -------- | ------ | +| *italics* | **bold** | `code` | + +## Code Blocks + +#### Code block with backticks + +```html + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Code block indented with four spaces + + + + + + Example HTML5 Document + + +

Test

+ + + +#### Code block with Hugo's internal highlight shortcode +{{< highlight html >}} + + + + + Example HTML5 Document + + +

Test

+ + +{{< /highlight >}} + +## List Types + +#### Ordered List + +1. First item +2. Second item +3. Third item + +#### Unordered List + +* List item +* Another item +* And another item + +#### Nested list + +* Fruit + * Apple + * Orange + * Banana +* Dairy + * Milk + * Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. + diff --git a/exampleSite/content/posts/third_post.md b/exampleSite/content/posts/third_post.md deleted file mode 100644 index 6ab9c0e..0000000 --- a/exampleSite/content/posts/third_post.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: "Third Post" -date: 2020-04-15T23:39:49+05:30 -tags: ["xyz"] -type: "post" ---- - -Yo yo yo - -# This is a heading - -- And -- this -- is -- a -- list - -```py -Codeblocks look like this - -def print(): - print('Hello world!') -``` diff --git a/exampleSite/content/projects.md b/exampleSite/content/project.md similarity index 89% rename from exampleSite/content/projects.md rename to exampleSite/content/project.md index 2181e8d..6bb24e2 100644 --- a/exampleSite/content/projects.md +++ b/exampleSite/content/project.md @@ -1,7 +1,7 @@ --- title: "Projects" type: singles -slug: projects +slug: /projects --- diff --git a/exampleSite/content/projects/tatooine.md b/exampleSite/content/projects/tatooine.md index 04f019a..e6e79a7 100644 --- a/exampleSite/content/projects/tatooine.md +++ b/exampleSite/content/projects/tatooine.md @@ -2,7 +2,7 @@ title: "Tatooine" date: 2021-05-12T23:39:49+05:30 type: singles -slug: "tatooine" +slug: tatooine --- ### A long time ago in a galaxy far, far away.... diff --git a/themes/gokarna/layouts/_default/list.html b/themes/gokarna/layouts/_default/list.html index 44789bf..e033694 100644 --- a/themes/gokarna/layouts/_default/list.html +++ b/themes/gokarna/layouts/_default/list.html @@ -1,20 +1,14 @@ {{ define "main" }} -

{{ .Name }}

- {{ $posts := where .Data.Pages "Params.type" "post" }} - {{ range $posts.GroupByDate "2006" }} + {{ range (where .Site.Pages "Params.type" "post" ).GroupByDate "2006" }}

{{ .Key }}

{{- range .Pages -}} -
- {{ .Title }} - -
- + {{- partial "list-posts.html" . -}} {{ end }} {{ end }} diff --git a/themes/gokarna/layouts/index.html b/themes/gokarna/layouts/index.html index 68e0408..8135599 100644 --- a/themes/gokarna/layouts/index.html +++ b/themes/gokarna/layouts/index.html @@ -8,4 +8,25 @@

{{ .Site.Title }}

{{ .Site.Params.Description }}

+ +{{ if isset .Site.Params "showpostsonhomepage" }} + +
+

{{ .Site.Params.ShowPostsOnHomePage | humanize }} Posts

+ + {{ $posts := where .Site.Pages "Params.type" "post" }} + + {{ if eq .Site.Params.ShowPostsOnHomePage "popular" }} + {{ range $posts.ByWeight | first 4 }} + {{- partial "list-posts.html" . -}} + {{ end }} + {{ else if eq .Site.Params.ShowPostsOnHomePage "recent" }} + {{ range $posts.ByDate.Reverse | first 4 }} + {{- partial "list-posts.html" . -}} + {{ end }} + {{ end }} +
+ +{{ end }} + {{ end }} diff --git a/themes/gokarna/layouts/partials/head.html b/themes/gokarna/layouts/partials/head.html index dedffe9..4bbf196 100644 --- a/themes/gokarna/layouts/partials/head.html +++ b/themes/gokarna/layouts/partials/head.html @@ -3,7 +3,7 @@ - + + {{ .Title }} + + diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index a83f5a8..4a1e285 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -256,6 +256,10 @@ table td { width: 15rem; } +.home-posts { + padding-top: 20px; +} + /* SINGLE */ main#content .post { font-size: 1.2rem;