How to use post - 10 common examples

To help you get started, we’ve selected a few post examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scottbedard / vuetober / template / src / pages / blog / show.vue View on Github external
<style lang="scss">@import 'core';
    h1 {
        font-weight: 300;
    }
</style>

<template>
    <div>
      <h1>\{{ post.title }}</h1>
      <div></div>
    </div>
</template>
github wangy8961 / flask-vuejs-madblog / front-end / src / components / Base / Post.vue View on Github external
<template>
  <div class="media g-brd-around g-brd-gray-light-v4 g-brd-left-1 g-pa-20 g-mb-20">
    
      <span class="d-inline-block g-pos-rel">
        <span class="u-badge-v2--xs u-badge--top-left g-bg-red g-mt-7 g-ml-7"></span>
        <img class="d-flex g-brd-around g-brd-gray-light-v3 g-pa-2 g-width-40 g-height-40 rounded-circle rounded mCS_img_loaded g-mt-3 g-mr-15">
      </span>
      <img class="d-flex g-brd-around g-brd-gray-light-v3 g-pa-2 g-width-40 g-height-40 rounded-circle rounded mCS_img_loaded g-mt-3 g-mr-15">
    
    
    <div class="media-body">
      <div class="g-mb-15">
        <h5 class="h5 g-color-gray-dark-v1 mb-0">{{ post.author.name || post.author.username }} <span class="h6">发布了文章《{{ post.title }}》</span></h5>
        <span class="g-color-gray-dark-v4 g-font-size-12">{{ $moment(post.timestamp).format('YYYY年MM月DD日 HH:mm:ss') }}</span>
      </div>

      
      
      

      <div class="d-flex justify-content-start">
        <ul class="list-inline mb-0">
          <li class="list-inline-item g-mr-20">
            <a class="g-color-gray-dark-v5 g-text-underline--none--hover">
              <i class="icon-eye g-pos-rel g-top-1 g-mr-3"></i> {{ post.views }}</a></li></ul></div></div></div></template>
github scottbedard / vuetober / template / src / pages / blog / post.vue View on Github external
<style lang="sass">
</style>

<template>
    <article class="blog-post page">
        <h3>\{{ post.title }}</h3>
        <p>\{{{ post.content_html }}}</p>
    </article>
</template>
github scottbedard / vuetober / template / src / pages / blog / list.vue View on Github external
}
    }


<template>
    <div>
        <h1>Blog example</h1>
        <p>To see the blog example in action, make sure you have the following plugins installed.</p>
        <ol>
            <li><a href="https://octobercms.com/plugin/rainlab-blog">RainLab.Blog</a></li>
            <li><a href="https://github.com/scottbedard/rainlab-blog-api">Bedard.RainLabBlogApi</a></li>
        </ol>
        <h2>Posts</h2>
        <ul>
            <li>
                
                    \{{ post.title }}
                
            </li>
        </ul>
    </div>
</template>

post

Emitter-like component to create safe cross origin communication

MIT
Latest version published 10 years ago

Package Health Score

42 / 100
Full package analysis

Popular post functions